=>> Building games/libretro-mame2003_plus build started at Thu Dec 11 10:28:26 EST 2025 port directory: /usr/ports/games/libretro-mame2003_plus package name: libretro-mame2003_plus-0.20231023 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 742 Oct 16 2024 /usr/ports/games/libretro-mame2003_plus/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 10 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.cache HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.cache HOME=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/libretro-mame2003_plus/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libretro-mame2003_plus" EXAMPLESDIR="share/examples/libretro-mame2003_plus" DATADIR="share/libretro-mame2003_plus" WWWDIR="www/libretro-mame2003_plus" ETCDIR="etc/libretro-mame2003_plus" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libretro-mame2003_plus DOCSDIR=/usr/local/share/doc/libretro-mame2003_plus EXAMPLESDIR=/usr/local/share/examples/libretro-mame2003_plus WWWDIR=/usr/local/www/libretro-mame2003_plus ETCDIR=/usr/local/etc/libretro-mame2003_plus --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libretro-mame2003_plus port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> libretro-mame2003_plus-0.20231023 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> libretro-mame2003_plus-0.20231023 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libretro-mame2003_plus-0.20231023 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libretro-mame2003_plus port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by libretro-mame2003_plus-0.20231023 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libretro-mame2003_plus port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by libretro-mame2003_plus-0.20231023 for building => SHA256 Checksum OK for libretro-mame2003-plus-libretro-0.20231023-79aee414b6f5ab70a6eb257f9273550423e11356_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libretro-mame2003_plus port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by libretro-mame2003_plus-0.20231023 for building ===> Extracting for libretro-mame2003_plus-0.20231023 => SHA256 Checksum OK for libretro-mame2003-plus-libretro-0.20231023-79aee414b6f5ab70a6eb257f9273550423e11356_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for libretro-mame2003_plus-0.20231023 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> libretro-mame2003_plus-0.20231023 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> libretro-mame2003_plus-0.20231023 depends on package: gmake>=4.4.1 - found ===> Returning to build of libretro-mame2003_plus-0.20231023 ===> libretro-mame2003_plus-0.20231023 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> libretro-mame2003_plus-0.20231023 depends on file: /usr/local/bin/ccache - found ===> Returning to build of libretro-mame2003_plus-0.20231023 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for libretro-mame2003_plus-0.20231023 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for libretro-mame2003_plus-0.20231023 /bin/sh: git: not found Compiling src/mame2003/mame2003.c... Compiling src/mame2003/core_options.c... Compiling src/mame2003/video.c... Compiling src/artwork.c... Compiling src/bootstrap.c... Compiling src/cheat.c... Compiling src/common.c... Compiling src/config.c... Compiling src/controls.c... Compiling src/cpuexec.c... Compiling src/cpuint.c... In file included from src/mame2003/mame2003.c:20: In file included from src/mame.h:20: In file included from src/fileio.h:13: In file included from src/mame2003/mame2003.h:9: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpuintrf.c... In file included from src/mame2003/video.c:4: In file included from src/mame2003/mame2003.h:9: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mame2003/video.c:7: src/common.h:460:55: warning: declaration of 'struct GameDriver' will not be visible outside of this function [-Wvisibility] 460 | const struct RomModule *rom_first_region(const struct GameDriver *drv); | ^ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:355:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 355 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:358:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 358 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:361:10: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 361 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 301 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' 348 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 302 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' 336 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' 338 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' 340 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 324 | TYPE_IN *in = (TYPE_IN*)input;\ | ^~~~~~~~~~~~~~~ src/mame2003/video.c:364:10: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 364 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' 350 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' 342 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 325 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^~~~~~~~~~~~~~~~~ 69 warnings generated. Compiling src/datafile.c... In file included from src/mame2003/core_options.c:9: In file included from src/mame.h:20: In file included from src/fileio.h:13: In file included from src/mame2003/mame2003.h:9: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/core_options.c:1224:48: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] 1224 | options.cpu_clock_scale = (double) atoi(var.value) / 100; | ^~~~~~~~~~~~~~~ src/mame2003/core_options.c:754:47: warning: unused variable 'option_def_cyclone_mode' [-Wunused-variable] 754 | static struct retro_core_option_v2_definition option_def_cyclone_mode = { | ^~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drawgfx.c... Compiling src/fileio.c... Compiling src/harddisk.c... Compiling src/driver.c... Compiling src/hash.c... Compiling src/hiscore.c... In file included from src/cpuint.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/config.c:7: In file included from src/config.h:12: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.c:332:15: warning: variable 'total' set but not used [-Wunused-but-set-variable] 332 | unsigned int total; | ^ src/config.c:441:6: warning: variable 'coin_counters' set but not used [-Wunused-but-set-variable] 441 | int coin_counters; | ^ 6 warnings generated. Compiling src/info.c... Compiling src/inptport.c... In file included from src/common.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:21:2: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 21 | "CHDERR_NONE", | ^~~~~~~~~~~~~ src/common.c:22:2: warning: initializing 'char *' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 22 | "CHDERR_NO_INTERFACE", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:23:2: warning: initializing 'char *' with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 23 | "CHDERR_OUT_OF_MEMORY", | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:24:2: warning: initializing 'char *' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 24 | "CHDERR_INVALID_FILE", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:25:2: warning: initializing 'char *' with an expression of type 'const char[25]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 25 | "CHDERR_INVALID_PARAMETER", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:26:2: warning: initializing 'char *' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 26 | "CHDERR_INVALID_DATA", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:27:2: warning: initializing 'char *' with an expression of type 'const char[22]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 27 | "CHDERR_FILE_NOT_FOUND", | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:28:2: warning: initializing 'char *' with an expression of type 'const char[23]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 28 | "CHDERR_REQUIRES_PARENT", | ^~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:29:2: warning: initializing 'char *' with an expression of type 'const char[26]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 29 | "CHDERR_FILE_NOT_WRITEABLE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:30:2: warning: initializing 'char *' with an expression of type 'const char[18]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 30 | "CHDERR_READ_ERROR", | ^~~~~~~~~~~~~~~~~~~ src/common.c:31:2: warning: initializing 'char *' with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 31 | "CHDERR_WRITE_ERROR", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:32:2: warning: initializing 'char *' with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 32 | "CHDERR_CODEC_ERROR", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:33:2: warning: initializing 'char *' with an expression of type 'const char[22]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 33 | "CHDERR_INVALID_PARENT", | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:34:2: warning: initializing 'char *' with an expression of type 'const char[25]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 34 | "CHDERR_HUNK_OUT_OF_RANGE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:35:2: warning: initializing 'char *' with an expression of type 'const char[27]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 35 | "CHDERR_DECOMPRESSION_ERROR", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:36:2: warning: initializing 'char *' with an expression of type 'const char[25]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 36 | "CHDERR_COMPRESSION_ERROR", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:37:2: warning: initializing 'char *' with an expression of type 'const char[24]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 37 | "CHDERR_CANT_CREATE_FILE", | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:38:2: warning: initializing 'char *' with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 38 | "CHDERR_CANT_VERIFY", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:39:2: warning: initializing 'char *' with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 39 | "CHDERR_NOT_SUPPORTED", | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:40:2: warning: initializing 'char *' with an expression of type 'const char[26]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 40 | "CHDERR_METADATA_NOT_FOUND", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:41:2: warning: initializing 'char *' with an expression of type 'const char[29]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 41 | "CHDERR_INVALID_METADATA_SIZE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:42:2: warning: initializing 'char *' with an expression of type 'const char[27]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 42 | "CHDERR_UNSUPPORTED_VERSION" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:439:25: warning: incompatible pointer types assigning to 'INT16 *' (aka 'short *') from 'signed char[1]' [-Wincompatible-pointer-types] 439 | flac_file.write_data = result->data; | ^ ~~~~~~~~~~~~ src/common.c:473:21: warning: unused variable 'SampleFile' [-Wunused-variable] 473 | struct GameSample *SampleFile; | ^~~~~~~~~~ src/common.c:507:8: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable] 507 | bool missing_sample = false; | ^ src/common.c:1394:13: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] 1394 | int type = ROMREGION_GETTYPE(regiondata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' 237 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:1542:57: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 1542 | log_cb(RETRO_LOG_DEBUG, LOGPRE " Copying to %08X\n", (int)base); | ^~~~~~~~~ src/common.c:1627:15: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] 1627 | memset(base, (UINT32)ROM_GETHASHDATA(romp) & 0xff, numbytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:1641:19: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] 1641 | UINT32 srcoffs = (UINT32)ROM_GETHASHDATA(romp); /* srcoffset in place of hashdata */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:1948:20: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] 1948 | int regiontype = ROMREGION_GETTYPE(region); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' 237 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:1973:87: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 1973 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Allocated %X bytes @ %08X\n", romdata.regionlength, (int)romdata.regionbase); | ^~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. In file included from src/datafile.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/datafile.c:128:16: warning: variable 'dwLength' set but not used [-Wunused-but-set-variable] 128 | UINT32 dwLength; /* Length of symbol */ | ^ src/datafile.c:369:12: warning: unused function 'ci_strcmp' [-Wunused-function] 369 | static int ci_strcmp (const char *s1, const char *s2) | ^~~~~~~~~ 6 warnings generated. Compiling src/input.c... Compiling src/mame-memory.c... In file included from src/cpuexec.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/harddisk.c:7: In file included from src/harddisk.h:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/hash.c:136: In file included from src/mame.h:20: In file included from src/fileio.h:13: In file included from src/mame2003/mame2003.h:9: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/mame.c... In file included from src/cpuintrf.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/fileio.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/mamedbg.c... In file included from src/driver.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/mame_unzip.c... Compiling src/ost_samples.c... Compiling src/palette.c... Compiling src/png.c... Compiling src/profiler.c... In file included from src/info.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/info.c:359:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] 359 | switch (ROMREGION_GETTYPE(region)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' 237 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^~~~~~~~~~~~~~~~~~~~~~ src/info.c:395:58: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] 395 | default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' 237 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^~~~~~~~~~~~~~~~~~~~~~ src/info.c:791:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 791 | void print_mame_xml() | ^ | void src/info.c:646:13: warning: unused function 'print_game_history' [-Wunused-function] 646 | static void print_game_history(FILE* out, const struct GameDriver* game) | ^~~~~~~~~~~~~~~~~~ 8 warnings generated. In file included from src/input.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/controls.c:13: In file included from src/controls.h:11: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndintrf.c... In file included from src/hiscore.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/state.c... In file included from src/mame.c:107: In file included from src/ui_text.h:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame.c:968:25: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 968 | buffered_spriteram16 = (data16_t *)buffered_spriteram; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame.c:969:25: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 969 | buffered_spriteram32 = (data32_t *)buffered_spriteram; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame.c:970:27: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 970 | buffered_spriteram16_2 = (data16_t *)buffered_spriteram_2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame.c:971:27: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 971 | buffered_spriteram32_2 = (data32_t *)buffered_spriteram_2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. In file included from src/inptport.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.c:1737:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1737 | void init_analog_seq() | ^ | void src/inptport.c:555:12: warning: unused function 'readint' [-Wunused-function] 555 | static int readint(mame_file *f,UINT32 *num) | ^~~~~~~ src/inptport.c:574:13: warning: unused function 'writeint' [-Wunused-function] 574 | static void writeint(mame_file *f,UINT32 num) | ^~~~~~~~ 7 warnings generated. Compiling src/tilemap.c... Compiling src/timer.c... In file included from src/ost_samples.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:475:2: warning: initializing 'const char **' with an expression of type 'const char *const[28]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 475 | contra_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:482:2: warning: initializing 'const char **' with an expression of type 'const char *const[26]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 482 | ddragon_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:489:2: warning: initializing 'const char **' with an expression of type 'const char *const[52]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 489 | ffight_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:496:2: warning: initializing 'const char **' with an expression of type 'const char *const[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 496 | ikari_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:503:2: warning: initializing 'const char **' with an expression of type 'const char *const[58]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 503 | mk_sample_set_names | ^~~~~~~~~~~~~~~~~~~ src/ost_samples.c:510:2: warning: initializing 'const char **' with an expression of type 'const char *const[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 510 | moonwalker_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:517:2: warning: initializing 'const char **' with an expression of type 'const char *const[16]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 517 | nba_jam_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:524:2: warning: initializing 'const char **' with an expression of type 'const char *const[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 524 | outrun_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:531:2: warning: initializing 'const char **' with an expression of type 'const char *const[24]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 531 | robocop_sample_set_names | ^~~~~~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:538:2: warning: initializing 'const char **' with an expression of type 'const char *const[36]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 538 | sf1_sample_set_names | ^~~~~~~~~~~~~~~~~~~~ src/ost_samples.c:545:2: warning: initializing 'const char **' with an expression of type 'const char *const[92]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 545 | sf2_sample_set_names | ^~~~~~~~~~~~~~~~~~~~ 15 warnings generated. In file included from src/profiler.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/mame_unzip.c:1: In file included from src/unzip.h:5: In file included from src/mame2003/mame2003.h:9: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame_unzip.c:709:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 709 | void unzip_cache_clear() | ^ | void 5 warnings generated. Compiling src/ui_text.c... Compiling src/usrintrf.c... In file included from src/cheat.c:374: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:1453:8: warning: variable 'pressed' set but not used [-Wunused-but-set-variable] 1453 | int pressed = 0; | ^ src/cheat.c:2005:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] 2005 | (int)menuStrings.mainList, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2006:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] 2006 | (int)menuStrings.subList, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2007:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2007 | (int)menuStrings.flagList, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2008:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 2008 | (int)menuStrings.mainStrings, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2009:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 2009 | (int)menuStrings.subStrings, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2010:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2010 | (int)menuStrings.buf); | ^~~~~~~~~~~~~~~~~~~~ src/cheat.c:4876:15: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable] 4876 | static INT32 submenuChoice = 0; | ^ src/cheat.c:7695:29: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7695 | UINT32 handlerAddress = (UINT32)handler; | ^~~~~~~~~~~~~~~ src/cheat.c:7718:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 7718 | if( (options.content_flags[CONTENT_NEOGEO]) && | ^ src/cheat.c:7713:4: note: previous statement is here 7713 | if( (handler == MWA_RAM) && | ^ src/cheat.c:7745:28: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7745 | if( (handlerAddress >= ((UINT32)MWA_BANK1)) && | ^~~~~~~~~~~~~~~~~ src/cheat.c:7746:25: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7746 | (handlerAddress <= ((UINT32)MWA_BANK24))) | ^~~~~~~~~~~~~~~~~~ src/cheat.c:7787:32: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7787 | UINT32 handlerAddress = (UINT32)handler; | ^~~~~~~~~~~~~~~ src/cheat.c:7789:29: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7789 | if( (handlerAddress >= ((UINT32)MWA_BANK1)) && | ^~~~~~~~~~~~~~~~~ src/cheat.c:7790:26: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7790 | (handlerAddress <= ((UINT32)MWA_BANK24))) | ^~~~~~~~~~~~~~~~~~ src/cheat.c:7792:51: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7792 | sprintf(desc, "BANK%.2d", (handlerAddress - ((UINT32)MWA_BANK1)) + 1); | ^~~~~~~~~~~~~~~~~ src/cheat.c:7798:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7798 | case (UINT32)MWA_NOP: strcpy(desc, "NOP "); break; | ^~~~~~~~~~~~~~~ src/cheat.c:7799:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7799 | case (UINT32)MWA_RAM: strcpy(desc, "RAM "); break; | ^~~~~~~~~~~~~~~ src/cheat.c:7800:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7800 | case (UINT32)MWA_ROM: strcpy(desc, "ROM "); break; | ^~~~~~~~~~~~~~~ src/cheat.c:7801:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mem_write_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] 7801 | case (UINT32)MWA_RAMROM: strcpy(desc, "RAMROM"); break; | ^~~~~~~~~~~~~~~~~~ src/cheat.c:8229:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 8229 | static void LoadCheatDatabase() | ^ | void src/cheat.c:8831:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 8831 | return *((UINT16 *)®ion->status[offset]) != 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8835:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 8835 | return *((UINT32 *)®ion->status[offset]) != 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8851:6: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 8851 | *((UINT16 *)®ion->status[offset]) = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8855:6: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 8855 | *((UINT32 *)®ion->status[offset]) = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8869:6: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 8869 | *((UINT16 *)®ion->status[offset]) &= ~invalidate; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8873:6: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 8873 | *((UINT32 *)®ion->status[offset]) &= ~invalidate; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8941:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 8941 | !region->flags & kRegionFlag_Enabled) | ^ ~ src/cheat.c:8941:5: note: add parentheses after the '!' to evaluate the bitwise operator first 8941 | !region->flags & kRegionFlag_Enabled) | ^ | ( ) src/cheat.c:8941:5: note: add parentheses around left hand side expression to silence this warning 8941 | !region->flags & kRegionFlag_Enabled) | ^ | ( ) src/cheat.c:8984:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 8984 | !region->flags & kRegionFlag_Enabled) | ^ ~ src/cheat.c:8984:5: note: add parentheses after the '!' to evaluate the bitwise operator first 8984 | !region->flags & kRegionFlag_Enabled) | ^ | ( ) src/cheat.c:8984:5: note: add parentheses around left hand side expression to silence this warning 8984 | !region->flags & kRegionFlag_Enabled) | ^ | ( ) src/cheat.c:9109:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 9109 | data = *((UINT16 *)&buf[address]); | ^~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:9119:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 9119 | data = *((UINT32 *)&buf[address]); | ^~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:9234:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 9234 | *((UINT16 *)&buf[address]) = data; | ^~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:9246:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 9246 | *((UINT32 *)&buf[address]) = data; | ^~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:10093:24: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] 10093 | UINT8 regionType = ROMREGION_GETTYPE(traverse); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' 237 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^~~~~~~~~~~~~~~~~~~~~~ 38 warnings generated. In file included from src/png.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/window.c... Compiling src/x86drc.c... In file included from src/state.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/state.c:302:97: warning: cast to smaller integer type 'int' from 'void (*)(void)' [-Wpointer-to-int-cast] 302 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Duplicate save state function (%d, 0x%x)\n", ss_current_tag, (int)func); | ^~~~~~~~~ 5 warnings generated. In file included from src/sndintrf.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/artwork.c:303: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/artwork.c:2171:6: warning: variable 'width' set but not used [-Wunused-but-set-variable] 2171 | int width, height; | ^ src/artwork.c:2306:12: warning: assigning to 'struct overlay_piece *' from 'const struct overlay_piece *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2306 | for (tmp = list; tmp->type != OVERLAY_TYPE_END; count++) | ^ ~~~~ 6 warnings generated. Compiling src/machine/fd1089.c... Compiling src/machine/6522via.c... Compiling src/machine/6532riot.c... Compiling src/machine/6821pia.c... Compiling src/machine/74123.c... In file included from src/timer.c:33: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/timer.c:325:71: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mame_timer *' (aka 'struct _mame_timer *') [-Wpointer-to-int-cast] 325 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Timer %08X fired (expire=%.9f)\n", (UINT32)timer, timer->expire); | ^~~~~~~~~~~~~ src/timer.c:417:74: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'mame_timer *' (aka 'struct _mame_timer *') [-Wpointer-to-int-cast] 417 | log_cb(RETRO_LOG_DEBUG, LOGPRE "timer_adjust %08X to expire @ %.9f\n", (UINT32)which, which->expire); | ^~~~~~~~~~~~~ 6 warnings generated. Compiling src/machine/74148.c... Compiling src/machine/74153.c... Compiling src/machine/8255ppi.c... Compiling src/machine/eeprom.c... Compiling src/machine/7474.c... In file included from src/palette.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/palette.c:617:51: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 617 | shadow_table_base[0] = shadow_table_base[2] = (UINT32*)table_ptr16; | ^~~~~~~~~~~~~~~~~~~~ src/palette.c:629:51: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 629 | shadow_table_base[1] = shadow_table_base[3] = (UINT32*)table_ptr16; | ^~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/machine/idectrl.c... In file included from src/ui_text.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mathbox.c... Compiling src/machine/mb87078.c... Compiling src/machine/random.c... In file included from src/machine/74153.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/74148.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:84:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 84 | bit0 = !((!chips[which].input_lines[1] & | ^ ~ src/machine/74148.c:84:13: note: add parentheses after the '!' to evaluate the bitwise operator first 84 | bit0 = !((!chips[which].input_lines[1] & | ^ | ( 85 | chips[which].input_lines[2] & | ) src/machine/74148.c:84:13: note: add parentheses around left hand side expression to silence this warning 84 | bit0 = !((!chips[which].input_lines[1] & | ^ | ( ) src/machine/74148.c:88:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 88 | (!chips[which].input_lines[3] & | ^ ~ src/machine/74148.c:88:13: note: add parentheses after the '!' to evaluate the bitwise operator first 88 | (!chips[which].input_lines[3] & | ^ | ( 89 | chips[which].input_lines[4] & | ) src/machine/74148.c:88:13: note: add parentheses around left hand side expression to silence this warning 88 | (!chips[which].input_lines[3] & | ^ | ( ) src/machine/74148.c:91:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 91 | (!chips[which].input_lines[5] & | ^ ~ src/machine/74148.c:91:13: note: add parentheses after the '!' to evaluate the bitwise operator first 91 | (!chips[which].input_lines[5] & | ^ | ( 92 | chips[which].input_lines[6]) | | | ) src/machine/74148.c:91:13: note: add parentheses around left hand side expression to silence this warning 91 | (!chips[which].input_lines[5] & | ^ | ( ) src/machine/74148.c:95:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 95 | bit1 = !((!chips[which].input_lines[2] & | ^ ~ src/machine/74148.c:95:13: note: add parentheses after the '!' to evaluate the bitwise operator first 95 | bit1 = !((!chips[which].input_lines[2] & | ^ | ( 96 | chips[which].input_lines[4] & | ) src/machine/74148.c:95:13: note: add parentheses around left hand side expression to silence this warning 95 | bit1 = !((!chips[which].input_lines[2] & | ^ | ( ) src/machine/74148.c:98:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 98 | (!chips[which].input_lines[3] & | ^ ~ src/machine/74148.c:98:13: note: add parentheses after the '!' to evaluate the bitwise operator first 98 | (!chips[which].input_lines[3] & | ^ | ( 99 | chips[which].input_lines[4] & | ) src/machine/74148.c:98:13: note: add parentheses around left hand side expression to silence this warning 98 | (!chips[which].input_lines[3] & | ^ | ( ) 9 warnings generated. In file included from src/machine/fd1089.c:133: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/fd1089.c:411:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 411 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/machine/6522via.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/tmp68301.c... Compiling src/machine/z80fmly.c... Compiling src/machine/ticket.c... In file included from src/machine/mathbox.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/mame-memory.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:361:15: warning: explicitly assigning value of variable of type 'UINT8' (aka 'unsigned char') to itself [-Wself-assign] 361 | opcode_entry = opcode_entry; | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ src/mame-memory.c:995:11: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 995 | return BANK_TO_HANDLER(bank); | ^~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:73:30: note: expanded from macro 'BANK_TO_HANDLER' 73 | #define BANK_TO_HANDLER(b) ((void *)(b)) | ^~~~~~~~~~~ src/mame-memory.c:1254:5: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1254 | mwa++; | ^ src/mame-memory.c:1247:4: note: previous statement is here 1247 | for (; !IS_MEMPORT_END(mwa); mwa++) | ^ src/mame-memory.c:1793:50: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1793 | state_save_register_UINT16("bank", i, "ram", (UINT16 *)cpu_bankbase[i], banksize[i]/2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1796:50: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 1796 | state_save_register_UINT32("bank", i, "ram", (UINT32 *)cpu_bankbase[i], banksize[i]/4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2453:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2453 | GENERATE_MEM_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2453:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2453 | GENERATE_MEM_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2454:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2454 | GENERATE_MEM_HANDLERS_16BIT_BE(18) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2454:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2454 | GENERATE_MEM_HANDLERS_16BIT_BE(18) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2455:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2455 | GENERATE_MEM_HANDLERS_16BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2455:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2455 | GENERATE_MEM_HANDLERS_16BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2456:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2456 | GENERATE_MEM_HANDLERS_16BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2456:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2456 | GENERATE_MEM_HANDLERS_16BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2406 | #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ | ^ 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2458:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2458 | GENERATE_MEM_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2458:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2458 | GENERATE_MEM_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2459:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2459 | GENERATE_MEM_HANDLERS_16BIT_LE(17) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2459:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2459 | GENERATE_MEM_HANDLERS_16BIT_LE(17) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2460:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2460 | GENERATE_MEM_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2460:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2460 | GENERATE_MEM_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2461:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2461 | GENERATE_MEM_HANDLERS_16BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2461:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2461 | GENERATE_MEM_HANDLERS_16BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2462:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2462 | GENERATE_MEM_HANDLERS_16BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2462:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2462 | GENERATE_MEM_HANDLERS_16BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2410 | #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ | ^ 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2464:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1987:15: note: expanded from macro 'READWORD32BE' 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2464:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2464:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2238:16: note: expanded from macro 'WRITEWORD32BE' 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2464:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2465:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1987:15: note: expanded from macro 'READWORD32BE' 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2465:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2465:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2238:16: note: expanded from macro 'WRITEWORD32BE' 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2465:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2466:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1987:15: note: expanded from macro 'READWORD32BE' 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2466:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2466:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2238:16: note: expanded from macro 'WRITEWORD32BE' 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2466:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2468:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:15: note: expanded from macro 'READWORD32LE' 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2468:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2468:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2264:16: note: expanded from macro 'WRITEWORD32LE' 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2468:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2469:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:15: note: expanded from macro 'READWORD32LE' 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2469:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2469:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2264:16: note: expanded from macro 'WRITEWORD32LE' 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2469:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2470:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:15: note: expanded from macro 'READWORD32LE' 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2470:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2470:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2264:16: note: expanded from macro 'WRITEWORD32LE' 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2470:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2471:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:15: note: expanded from macro 'READWORD32LE' 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2471:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2471:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2264:16: note: expanded from macro 'WRITEWORD32LE' 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2471:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2418 | #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ | ^ 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2473:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1987:15: note: expanded from macro 'READWORD32BE' 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2473:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2473:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2238:16: note: expanded from macro 'WRITEWORD32BE' 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2473:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2414 | #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ | ^ 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2513:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2513 | GENERATE_PORT_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2431:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_BE' 2431 | #define GENERATE_PORT_HANDLERS_16BIT_BE(abits) \ | ^ 2432 | GENERATE_HANDLERS_16BIT_BE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2513:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2513 | GENERATE_PORT_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2431:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_BE' 2431 | #define GENERATE_PORT_HANDLERS_16BIT_BE(abits) \ | ^ 2432 | GENERATE_HANDLERS_16BIT_BE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2515:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2515 | GENERATE_PORT_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2434 | #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ | ^ 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2515:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2515 | GENERATE_PORT_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2434 | #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ | ^ 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2516:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2516 | GENERATE_PORT_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2434 | #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ | ^ 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:15: note: expanded from macro 'READWORD16' 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2516:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2516 | GENERATE_PORT_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2434 | #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ | ^ 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:16: note: expanded from macro 'WRITEWORD16' 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2518:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2437 | #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ | ^ 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1987:15: note: expanded from macro 'READWORD32BE' 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2518:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2437 | #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ | ^ 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2518:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2437 | #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ | ^ 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2238:16: note: expanded from macro 'WRITEWORD32BE' 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2518:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2437 | #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ | ^ 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2520:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:15: note: expanded from macro 'READWORD32LE' 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2520:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2520:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2264:16: note: expanded from macro 'WRITEWORD32LE' 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2520:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2521:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:15: note: expanded from macro 'READWORD32LE' 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2521:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2521:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2264:16: note: expanded from macro 'WRITEWORD32LE' 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2521:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2522:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:15: note: expanded from macro 'READWORD32LE' 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2522:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:15: note: expanded from macro 'READLONG32' 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2522:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2264:16: note: expanded from macro 'WRITEWORD32LE' 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2522:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2440 | #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ | ^ 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2296:16: note: expanded from macro 'WRITELONG32' 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2538:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2538 | return cpu_readop16_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2544:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2544 | return cpu_readop32_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2556:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2556 | return cpu_readop_arg16_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2562:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2562 | return cpu_readop_arg32_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2623:77: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2623 | if (activecpu_address_bits() <= SPARSE_THRESH && unmap_value == 0) return ((data16_t *)cpu_bankbase[STATIC_RAM])[offset]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2629:77: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2629 | if (activecpu_address_bits() <= SPARSE_THRESH && unmap_value == 0) return ((data32_t *)cpu_bankbase[STATIC_RAM])[offset]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2641:64: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2641 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data16_t *)cpu_bankbase[STATIC_RAM])[offset]); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/mame-memory.c:2641:64: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2641 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data16_t *)cpu_bankbase[STATIC_RAM])[offset]); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/mame-memory.c:2646:64: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2646 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data32_t *)cpu_bankbase[STATIC_RAM])[offset]); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/mame-memory.c:2646:64: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2646 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data32_t *)cpu_bankbase[STATIC_RAM])[offset]); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ 91 warnings generated. In file included from src/machine/6532riot.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/eeprom.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/74123.c:42: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/8255ppi.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/filter.c... In file included from src/machine/7474.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/mixer.c... In file included from src/x86drc.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:112:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'void (*)(void)' increases required alignment from 1 to 4 [-Wcast-align] 112 | drc->entry_point = (void (*)(void))drc->cache_top; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:217:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 217 | _jmp(drc->dispatch); | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:17: note: expanded from macro '_jmp' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:217:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 217 | _jmp(drc->dispatch); | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:21: note: expanded from macro '_jmp' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:217:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 217 | _jmp(drc->dispatch); | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:41: note: expanded from macro '_jmp' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:241:5: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 241 | _jmp(drc->sequence_list[j].target); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:17: note: expanded from macro '_jmp' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:241:5: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 241 | _jmp(drc->sequence_list[j].target); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:21: note: expanded from macro '_jmp' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:241:5: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 241 | _jmp(drc->sequence_list[j].target); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:41: note: expanded from macro '_jmp' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:285:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:639:14: note: expanded from macro '_arith_m32abs_imm_common' 639 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:639:14: note: expanded from macro '_arith_m32abs_imm_common' 639 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:285:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:643:14: note: expanded from macro '_arith_m32abs_imm_common' 643 | OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:643:14: note: expanded from macro '_arith_m32abs_imm_common' 643 | OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:285:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:643:37: note: expanded from macro '_arith_m32abs_imm_common' 643 | OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ | ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:286:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 286 | _jcc(COND_NE, drc->recompile); /* jne recompile*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:746:14: note: expanded from macro '_arith_m16abs_imm_common' 746 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:746:14: note: expanded from macro '_arith_m16abs_imm_common' 746 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:290:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:750:14: note: expanded from macro '_arith_m16abs_imm_common' 750 | OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:750:14: note: expanded from macro '_arith_m16abs_imm_common' 750 | OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:290:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:750:37: note: expanded from macro '_arith_m16abs_imm_common' 750 | OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ | ^~~~~~~~ src/x86drc.h:198:23: note: expanded from macro 'OP2' 198 | #define OP2(x) do { *(UINT16 *)drc->cache_top = (UINT16)(x); drc->cache_top += 2; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:291:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 291 | _jcc(COND_NE, drc->recompile); /* jne recompile*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:295:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 295 | _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:802:6: note: expanded from macro '_cmp_m8abs_imm' 802 | do { _arith_m8abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:781:17: note: expanded from macro '_arith_m8abs_imm_common' 781 | do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:295:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 295 | _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:802:6: note: expanded from macro '_cmp_m8abs_imm' 802 | do { _arith_m8abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:781:17: note: expanded from macro '_arith_m8abs_imm_common' 781 | do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:296:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 296 | _jcc(COND_NE, drc->recompile); /* jne recompile*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:324:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 324 | _mov_m32abs_r32(drc->icountptr, REG_EBP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:324:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT32 *' (aka 'unsigned int *') [-Wpointer-to-int-cast] 324 | _mov_m32abs_r32(drc->icountptr, REG_EBP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:326:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 326 | _mov_m32abs_r32(drc->pcptr, REG_EDI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:326:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT32 *' (aka 'unsigned int *') [-Wpointer-to-int-cast] 326 | _mov_m32abs_r32(drc->pcptr, REG_EDI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:328:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 328 | _mov_m32abs_r32(drc->esiptr, REG_ESI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:328:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT32 *' (aka 'unsigned int *') [-Wpointer-to-int-cast] 328 | _mov_m32abs_r32(drc->esiptr, REG_ESI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:339:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 339 | _mov_r32_m32abs(REG_EBP, drc->icountptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:339:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT32 *' (aka 'unsigned int *') [-Wpointer-to-int-cast] 339 | _mov_r32_m32abs(REG_EBP, drc->icountptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:341:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 341 | _mov_r32_m32abs(REG_EDI, drc->pcptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:341:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT32 *' (aka 'unsigned int *') [-Wpointer-to-int-cast] 341 | _mov_r32_m32abs(REG_EDI, drc->pcptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:343:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 343 | _mov_r32_m32abs(REG_ESI, drc->esiptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:343:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT32 *' (aka 'unsigned int *') [-Wpointer-to-int-cast] 343 | _mov_r32_m32abs(REG_ESI, drc->esiptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:354:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 354 | _call(target); /* call target*/ | ^~~~~~~~~~~~~ src/x86drc.h:982:35: note: expanded from macro '_call' 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:354:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 354 | _call(target); /* call target*/ | ^~~~~~~~~~~~~ src/x86drc.h:982:39: note: expanded from macro '_call' 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:354:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 354 | _call(target); /* call target*/ | ^~~~~~~~~~~~~ src/x86drc.h:982:59: note: expanded from macro '_call' 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:357:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 357 | _add_r32_imm(REG_ESP, stackadj); /* adjust stack*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:603:6: note: expanded from macro '_add_r32_imm' 603 | do { _arith_r32_imm_common(0, dreg, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:598:36: note: expanded from macro '_arith_r32_imm_common' 598 | OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ | ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:368:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 368 | _sub_r32_imm(REG_EBP, cycles); /* sub ebp,cycles*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:618:6: note: expanded from macro '_sub_r32_imm' 618 | do { _arith_r32_imm_common(5, dreg, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:598:36: note: expanded from macro '_arith_r32_imm_common' 598 | OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ | ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:370:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 370 | _lea_r32_m32bd(REG_EDI, REG_EDI, pcdelta); /* lea edi,[edi+pcdelta]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:471:17: note: expanded from macro '_lea_r32_m32bd' 471 | do { OP1(0x8d); MODRM_MBD(dest, base, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' 242 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:370:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 370 | _lea_r32_m32bd(REG_EDI, REG_EDI, pcdelta); /* lea edi,[edi+pcdelta]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:471:17: note: expanded from macro '_lea_r32_m32bd' 471 | do { OP1(0x8d); MODRM_MBD(dest, base, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' 247 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:372:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 372 | _jcc(COND_S, drc->out_of_cycles); /* js out_of_cycles*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:218:6: note: expanded from macro 'MODRM_MBD' 218 | if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ | ^~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:17: note: expanded from macro 'MODRM_MBD' 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:34: note: expanded from macro 'MODRM_MBD' 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:228:8: note: expanded from macro 'MODRM_MBD' 228 | OP1((INT32)disp); \ | ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.c:389:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:233:8: note: expanded from macro 'MODRM_MBD' 233 | OP1((INT32)disp); \ | ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.c:389:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' 242 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' 242 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' 247 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' 247 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:257:11: note: expanded from macro 'MODRM_MBISD' 257 | else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ | ^~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:7: note: expanded from macro 'MODRM_MBISD' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:17: note: expanded from macro 'MODRM_MBISD' 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:34: note: expanded from macro 'MODRM_MBISD' 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:267:7: note: expanded from macro 'MODRM_MBISD' 267 | OP1((INT32)disp); \ | ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.c:389:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' 273 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:389:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:375:17: note: expanded from macro '_mov_r32_m32isd' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' 273 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:390:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 390 | _and_r32_imm(REG_EDX, drc->l2mask); /* and edx,l2mask*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:615:6: note: expanded from macro '_and_r32_imm' 615 | do { _arith_r32_imm_common(4, dreg, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:598:36: note: expanded from macro '_arith_r32_imm_common' 598 | OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ | ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:391:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' 242 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:391:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' 247 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:391:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:391:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' 273 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:404:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 404 | _mov_r32_m32abs(REG_EAX, &drc->lookup_l1[newpc >> drc->l1shift]);/* mov eax,[(newpc >> l1shift)*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:404:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void ***' [-Wpointer-to-int-cast] 404 | _mov_r32_m32abs(REG_EAX, &drc->lookup_l1[newpc >> drc->l1shift]);/* mov eax,[(newpc >> l1shift)*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:405:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 405 | _jmp_m32bd(REG_EAX, (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:990:17: note: expanded from macro '_jmp_m32bd' 990 | do { OP1(0xff); MODRM_MBD(4, base, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' 242 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:405:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 405 | _jmp_m32bd(REG_EAX, (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:990:17: note: expanded from macro '_jmp_m32bd' 990 | do { OP1(0xff); MODRM_MBD(4, base, disp); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' 247 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:408:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 408 | _jmp_m32abs((UINT8 *)base + (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:987:17: note: expanded from macro '_jmp_m32abs' 987 | do { OP1(0xff); MODRM_MABS(4, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:408:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 408 | _jmp_m32abs((UINT8 *)base + (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:987:17: note: expanded from macro '_jmp_m32abs' 987 | do { OP1(0xff); MODRM_MABS(4, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:218:6: note: expanded from macro 'MODRM_MBD' 218 | if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ | ^~~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:17: note: expanded from macro 'MODRM_MBD' 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:34: note: expanded from macro 'MODRM_MBD' 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:228:8: note: expanded from macro 'MODRM_MBD' 228 | OP1((INT32)disp); \ | ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.c:436:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:233:8: note: expanded from macro 'MODRM_MBD' 233 | OP1((INT32)disp); \ | ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.c:436:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' 242 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' 242 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' 247 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' 247 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:257:11: note: expanded from macro 'MODRM_MBISD' 257 | else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ | ^~~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:7: note: expanded from macro 'MODRM_MBISD' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:17: note: expanded from macro 'MODRM_MBISD' 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:34: note: expanded from macro 'MODRM_MBISD' 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'INT32' (aka 'int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:267:7: note: expanded from macro 'MODRM_MBISD' 267 | OP1((INT32)disp); \ | ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.c:436:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' 273 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:436:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' 273 | OP4(disp); \ | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:437:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 437 | _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:437:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 437 | _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:448:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 448 | _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:448:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 448 | _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:459:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 459 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:459:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 459 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:537:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 537 | _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:537:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 537 | _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:538:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 538 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:538:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 538 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:565:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 565 | _push_imm(drc); /* push drc*/ | ^~~~~~~~~~~~~~ src/x86drc.h:290:17: note: expanded from macro '_push_imm' 290 | do { OP1(0x68); OP4(imm); } while (0) | ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:565:2: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'struct drccore *' [-Wpointer-to-int-cast] 565 | _push_imm(drc); /* push drc*/ | ^~~~~~~~~~~~~~ src/x86drc.h:290:17: note: expanded from macro '_push_imm' 290 | do { OP1(0x68); OP4(imm); } while (0) | ^~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ src/x86drc.c:581:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 581 | _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:581:3: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 581 | _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^~~~~~~~~~~ 107 warnings generated. Compiling src/sound/streams.c... In file included from src/machine/z80fmly.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/usrintrf.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/votrax.c... Compiling src/sound/wavwrite.c... In file included from src/machine/tmp68301.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/tmp68301.c:177:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 177 | void tmp68301_external_interrupt_0() { tmp68301_IE[0] = 1; update_irq_state(); } | ^ | void src/machine/tmp68301.c:178:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 178 | void tmp68301_external_interrupt_1() { tmp68301_IE[1] = 1; update_irq_state(); } | ^ | void src/machine/tmp68301.c:179:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 179 | void tmp68301_external_interrupt_2() { tmp68301_IE[2] = 1; update_irq_state(); } | ^ | void 7 warnings generated. Compiling src/vidhrdw/avgdvg_vidhrdw.c... In file included from src/machine/6821pia.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/generic.c... Compiling src/vidhrdw/matrix3d.c... In file included from src/machine/ticket.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/streams.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/poly.c... In file included from src/sound/votrax.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/tilemap.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tlc34076.c... In file included from src/machine/idectrl.c:7: In file included from src/machine/idectrl.h:7: In file included from src/harddisk.h:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vector.c... In file included from src/vidhrdw/avgdvg_vidhrdw.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/wavwrite.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/resnet.c... Compiling src/drivers/pacman.c... Compiling src/machine/mspacman.c... In file included from src/sound/mixer.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/pacplus.c... Compiling src/machine/jumpshot.c... In file included from src/vidhrdw/generic.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/theglobp.c... Compiling src/machine/acitya.c... In file included from src/vidhrdw/tlc34076.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tlc34076.c:137:8: warning: variable 'oldval' set but not used [-Wunused-but-set-variable] 137 | UINT8 oldval; | ^ 5 warnings generated. Compiling src/drivers/jrpacman.c... Compiling src/vidhrdw/pacman_vidhrdw.c... Compiling src/drivers/pengo.c... In file included from src/vidhrdw/vector.c:37: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/mspacman.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/pacplus.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/epos.c... Compiling src/vidhrdw/epos_vidhrdw.c... In file included from src/machine/jumpshot.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/theglobp.c:64: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cclimber_vidhrdw.c... In file included from src/vidhrdw/resnet.c:49: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/acitya.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/cclimber_sndhrdw.c... Compiling src/drivers/cclimber.c... In file included from src/drivers/jrpacman.c:101: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pengo.c:63: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/poly.c:11: In file included from src/vidhrdw/poly.h:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/pacman_vidhrdw.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yamato.c... Compiling src/vidhrdw/gomoku_vidhrdw.c... In file included from src/vidhrdw/epos_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/gomoku_sndhrdw.c... Compiling src/drivers/gomoku.c... In file included from src/drivers/epos.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/cclimber_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pacman.c:180: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wiping_vidhrdw.c... In file included from src/bootstrap.c:10: In file included from src/bootstrap.h:13: In file included from src/fileio.h:13: In file included from src/mame2003/mame2003.h:9: In file included from src/inptport.h:4: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/wiping_sndhrdw.c... In file included from src/drivers/cclimber.c:128: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gomoku_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wiping.c... In file included from src/drivers/yamato.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/seicross_vidhrdw.c... In file included from src/vidhrdw/cclimber_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/seicross.c... In file included from src/vidhrdw/wiping_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/gomoku_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/wiping_sndhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/clshroad_vidhrdw.c... Compiling src/drivers/clshroad.c... In file included from src/drivers/gomoku.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tubep_vidhrdw.c... In file included from src/drivers/wiping.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tubep.c... Compiling src/vidhrdw/magmax_vidhrdw.c... In file included from src/vidhrdw/seicross_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/seicross.c:45: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/magmax.c... Compiling src/vidhrdw/cop01_vidhrdw.c... In file included from src/vidhrdw/tubep_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tubep_vidhrdw.c:337:8: warning: variable 'active_r' set but not used [-Wunused-but-set-variable] 337 | int active_r = 3*6; | ^ src/vidhrdw/tubep_vidhrdw.c:338:8: warning: variable 'active_g' set but not used [-Wunused-but-set-variable] 338 | int active_g = 3*6; | ^ src/vidhrdw/tubep_vidhrdw.c:339:8: warning: variable 'active_b' set but not used [-Wunused-but-set-variable] 339 | int active_b = 2*6; | ^ src/vidhrdw/tubep_vidhrdw.c:235:9: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable] 235 | double output_scaler; | ^ 8 warnings generated. Compiling src/drivers/cop01.c... Compiling src/vidhrdw/terracre_vidhrdw.c... In file included from src/drivers/clshroad.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/terracre.c... Compiling src/vidhrdw/galivan_vidhrdw.c... In file included from src/vidhrdw/clshroad_vidhrdw.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galivan.c... Compiling src/vidhrdw/armedf_vidhrdw.c... In file included from src/drivers/magmax.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tubep.c:105: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/magmax_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/cop01_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/armedf.c... In file included from src/vidhrdw/terracre_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/nb1413m3.c... Compiling src/vidhrdw/hyhoo_vidhrdw.c... In file included from src/drivers/cop01.c:52: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hyhoo.c... Compiling src/vidhrdw/pastelgl_vidhrdw.c... Compiling src/drivers/pastelgl.c... In file included from src/drivers/terracre.c:83: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nbmj8688_vidhrdw.c... In file included from src/drivers/galivan.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/galivan_vidhrdw.c:32: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nbmj8688.c... In file included from src/vidhrdw/armedf_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nbmj8891_vidhrdw.c... In file included from src/drivers/hyhoo.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/nb1413m3.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nbmj8891.c... Compiling src/vidhrdw/nbmj8991_vidhrdw.c... In file included from src/drivers/armedf.c:146: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/armedf.c:1293:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1293 | data16_t *ROM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/armedf.c:228:25: warning: unused function 'legion_command_c' [-Wunused-function] 228 | static WRITE16_HANDLER( legion_command_c ) | ^~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ 6 warnings generated. Compiling src/drivers/nbmj8991.c... In file included from src/vidhrdw/hyhoo_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/pastelgl_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nbmj9195_vidhrdw.c... Compiling src/drivers/nbmj9195.c... In file included from src/drivers/pastelgl.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/nbmj8688_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/nbmj8688.c:30: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/niyanpai_vidhrdw.c... In file included from src/vidhrdw/nbmj8891_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/m68kfmly.c... Compiling src/drivers/niyanpai.c... Compiling src/drivers/safarir.c... Compiling src/vidhrdw/phoenix_vidhrdw.c... In file included from src/vidhrdw/nbmj8991_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/nbmj8991.c:81: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/phoenix_sndhrdw.c... Compiling src/drivers/phoenix.c... Compiling src/vidhrdw/naughtyb_vidhrdw.c... Compiling src/sndhrdw/pleiads.c... Compiling src/drivers/naughtyb.c... In file included from src/vidhrdw/nbmj9195_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/geebee_machine.c... Compiling src/vidhrdw/geebee_vidhrdw.c... In file included from src/machine/m68kfmly.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/nbmj9195.c:96: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/niyanpai.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/niyanpai_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/safarir.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/geebee_sndhrdw.c... In file included from src/drivers/nbmj8891.c:99: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/geebee.c... In file included from src/vidhrdw/phoenix_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/naughtyb_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/warpwarp_vidhrdw.c... In file included from src/drivers/phoenix.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/warpwarp_sndhrdw.c... In file included from src/sndhrdw/phoenix_sndhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/warpwarp.c... In file included from src/machine/geebee_machine.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/naughtyb.c:106: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tankbatt_vidhrdw.c... In file included from src/vidhrdw/geebee_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tankbatt.c... In file included from src/sndhrdw/pleiads.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/galaxian_vidhrdw.c... In file included from src/vidhrdw/warpwarp_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/galaxian_sndhrdw.c... In file included from src/sndhrdw/geebee_sndhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galaxian.c... Compiling src/vidhrdw/rallyx_vidhrdw.c... In file included from src/drivers/geebee.c:69: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rallyx.c... Compiling src/drivers/locomotn.c... Compiling src/vidhrdw/bosco_vidhrdw.c... In file included from src/sndhrdw/warpwarp_sndhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/warpwarp.c:60: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/tankbatt_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galaga.c... Compiling src/vidhrdw/galaga_vidhrdw.c... Compiling src/vidhrdw/digdug_vidhrdw.c... Compiling src/vidhrdw/xevious_vidhrdw.c... Compiling src/machine/xevious_machine.c... Compiling src/vidhrdw/mappy_vidhrdw.c... In file included from src/drivers/locomotn.c:51: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/rallyx.c:56: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/rallyx.c:237:1: warning: unused variable 'input_ports_nrallyv' [-Wunused-const-variable] 237 | INPUT_PORTS_START( nrallyv ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :172:1: note: expanded from here 172 | input_ports_nrallyv | ^~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/galaxian.c:119: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/galaga_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tankbatt.c:58: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mappy.c... In file included from src/sndhrdw/galaxian_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/galaxian_sndhrdw.c:198:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] 198 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^ src/sndhrdw/galaxian_sndhrdw.c:198:12: warning: variable 'sweep' set but not used [-Wunused-but-set-variable] 198 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^ src/sndhrdw/galaxian_sndhrdw.c:198:19: warning: variable 'charge' set but not used [-Wunused-but-set-variable] 198 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^ 7 warnings generated. In file included from src/vidhrdw/bosco_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/gaplus_machine.c... In file included from src/drivers/galaga.c:667: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/rallyx_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gaplus_vidhrdw.c... In file included from src/vidhrdw/digdug_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/galaxian_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/galaxian_vidhrdw.c:1785:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1785 | static void start_stars_scroll_timer() | ^ | void 5 warnings generated. Compiling src/drivers/gaplus.c... Compiling src/vidhrdw/toypop_vidhrdw.c... In file included from src/vidhrdw/xevious_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/xevious_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/toypop.c... Compiling src/drivers/polepos.c... Compiling src/vidhrdw/polepos_vidhrdw.c... In file included from src/vidhrdw/mappy_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drawgfx.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:308:9: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 308 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:321:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 321 | write_dword((UINT32 *)dstdata,col4); | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:61:43: note: expanded from macro 'write_dword' 61 | #define write_dword(address,data) *(int *)address=data | ^~~~~~~ src/drawgfx.c:377:9: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 377 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ In file included from src/drawgfx.c:551: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from 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/drawgfx.c:551: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from 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/drawgfx.c:551: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from 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/drawgfx.c:551: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from 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/drawgfx.c:551: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from 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/drawgfx.c:551: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from 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/drawgfx.c:561: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/drawgfx.c:561: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/drawgfx.c:561: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/drawgfx.c:561: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/drawgfx.c:561: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/drawgfx.c:561: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/drawgfx.c:573: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ In file included from src/drawgfx.c:573: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ In file included from src/drawgfx.c:573: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ In file included from src/drawgfx.c:573: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ In file included from src/drawgfx.c:573: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ In file included from src/drawgfx.c:573: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ In file included from src/drawgfx.c:583: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ In file included from src/drawgfx.c:583: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ In file included from src/drawgfx.c:583: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ In file included from src/drawgfx.c:583: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ In file included from src/drawgfx.c:583: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ In file included from src/drawgfx.c:583: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:644: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:654: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:666: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ In file included from src/drawgfx.c:676: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/drawgfx.c:722:10: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 722 | return(((UINT32*)palette_shadow_table)[c]); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/drawgfx.c:744: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:744: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from 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/drawgfx.c:754: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:754: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:766: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:3841:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3841 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:3892:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3892 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4023:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4023 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4074:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4074 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4132:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4132 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4180:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4180 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4518:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4518 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4606:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4606 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4694:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4694 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/drawgfx.c:776: src/drawgfx.c:4745:10: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4745 | sd4 = (UINT32 *)srcdata; | ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ src/drawgfx.c:3521:22: warning: variable 'black' set but not used [-Wunused-but-set-variable] 3521 | unsigned long color,black,white; | ^ 113 warnings generated. Compiling src/sndhrdw/polepos_sndhrdw.c... In file included from src/vidhrdw/gaplus_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pacland_vidhrdw.c... Compiling src/drivers/pacland.c... In file included from src/machine/gaplus_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/skykid_vidhrdw.c... In file included from src/drivers/mappy.c:436: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/toypop_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skykid.c... Compiling src/vidhrdw/baraduke_vidhrdw.c... In file included from src/drivers/toypop.c:32: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/toypop.c:228:23: warning: unused function 'toypop_68k_irq_trigger_w' [-Wunused-function] 228 | static WRITE_HANDLER( toypop_68k_irq_trigger_w ) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:127:39: note: expanded from macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^~~~ 5 warnings generated. Compiling src/drivers/baraduke.c... In file included from src/drivers/gaplus.c:152: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/namcos86_vidhrdw.c... In file included from src/drivers/polepos.c:213: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcos86.c... Compiling src/vidhrdw/tceptor_vidhrdw.c... In file included from src/vidhrdw/polepos_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pacland.c:30: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tceptor.c... In file included from src/sndhrdw/polepos_sndhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/namcos1_machine.c... In file included from src/vidhrdw/pacland_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/skykid.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/skykid_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/baraduke_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/namcos2_machine.c... Compiling src/vidhrdw/namcos2_vidhrdw.c... Compiling src/vidhrdw/namcos1_vidhrdw.c... In file included from src/drivers/namcos86.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcos1.c... Compiling src/drivers/namcos2.c... In file included from src/vidhrdw/tceptor_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tceptor_vidhrdw.c:47:17: warning: variable 'totlookup' set but not used [-Wunused-but-set-variable] 47 | int totcolors, totlookup; | ^ 5 warnings generated. In file included from src/drivers/baraduke.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tceptor.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcoic.c... In file included from src/machine/namcos1_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/namcona1_vidhrdw.c... In file included from src/vidhrdw/namcos86_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/namcos1_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcona1.c... Compiling src/vidhrdw/namconb1_vidhrdw.c... Compiling src/drivers/namconb1.c... In file included from src/drivers/namcos1.c:201: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/namcos2_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/namcond1_machine.c... Compiling src/vidhrdw/ygv608.c... In file included from src/machine/namcos2_machine.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/namcos2_machine.c:135:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 135 | data16_t *ROM = (data16_t *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/namcond1.c... Compiling src/vidhrdw/psx_vidhrdw.c... In file included from src/vidhrdw/namcona1_vidhrdw.c:3: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/namcoic.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcoic.c:51:1: warning: unused function 'nth_word32' [-Wunused-function] 51 | nth_word32( const data32_t *pSource, int which ) | ^~~~~~~~~~ src/drivers/namcoic.c:68:1: warning: unused function 'nth_byte32' [-Wunused-function] 68 | nth_byte32( const data32_t *pSource, int which ) | ^~~~~~~~~~ 6 warnings generated. Compiling src/machine/psx_machine.c... In file included from src/drivers/namconb1.c:290: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namconb1.c:380:21: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 380 | data32_t *pMem32 = (data32_t *)pMem8; | ^~~~~~~~~~~~~~~~~ src/drivers/namconb1.c:1141:1: warning: unused variable 'input_ports_machbrkr' [-Wunused-const-variable] 1141 | INPUT_PORTS_START( machbrkr ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :75:1: note: expanded from here 75 | input_ports_machbrkr | ^~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/namcos10.c... Compiling src/drivers/namcos12.c... Compiling src/drivers/namcos11.c... In file included from src/machine/namcond1_machine.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/namcos3d.c... Compiling src/vidhrdw/namcos21_vidhrdw.c... In file included from src/drivers/namcond1.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/namcos2.c:447: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/namcona1.c:76: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcona1.c:516:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 516 | data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcona1.c:1029:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1029 | data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/vidhrdw/namconb1_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcos21.c... In file included from src/drivers/namcos10.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos10.c:68:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 68 | data16_t *RAM = (data16_t *)memory_region( REGION_USER2 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/ygv608.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/namcos22_vidhrdw.c... Compiling src/drivers/namcos22.c... In file included from src/drivers/namcos12.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:120:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 120 | if( *( (data32_t *)&RAM[ 0x2ac494 ] ) == 0x080ab125 ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:122:7: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 122 | *( (data32_t *)&RAM[ 0x2ac494 ] ) = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:128:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 128 | if( *( (data32_t *)&RAM[ 0x16d50 ] ) == 0x08005b54 ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:130:7: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 130 | *( (data32_t *)&RAM[ 0x16d50 ] ) = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:167:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 167 | p_n_src = (data32_t *)( memory_region( REGION_USER2 ) + ( m_n_dmaoffset & 0x003fffff ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:171:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 171 | p_n_src = (data32_t *)( memory_region( REGION_USER3 ) + ( m_n_dmaoffset & 0x7fffffff ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:174:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 174 | p_n_dst = (data32_t *)( memory_region( REGION_CPU1 ) + n_address ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:270:6: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 270 | *( (data32_t *)&RAM[ 0x20280 ] ) = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:271:6: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 271 | *( (data32_t *)&RAM[ 0x20284 ] ) = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c:272:6: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 272 | *( (data32_t *)&RAM[ 0x20288 ] ) = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. Compiling src/vidhrdw/cosmic_vidhrdw.c... In file included from src/machine/psx_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c:38:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 38 | return *( (UINT16 *)&m_p_n_ram[ WORD_XOR_LE( n_address ) ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c:231:26: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 231 | n_nextaddress = *( (UINT32 *)&m_p_n_ram[ n_address ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c:256:11: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 256 | *( (UINT32 *)&m_p_n_ram[ n_address ] ) = n_nextaddress; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c:260:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 260 | *( (UINT32 *)&m_p_n_ram[ n_address ] ) = 0xffffff; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c:853:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-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:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-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:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-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:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-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:961:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 961 | psx_gpu_read( (UINT32 *)&m_p_n_ram[ n_address ], n_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c:966:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 966 | psx_gpu_write( (UINT32 *)&m_p_n_ram[ n_address ], n_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. Compiling src/drivers/cosmic.c... Compiling src/vidhrdw/redclash_vidhrdw.c... In file included from src/vidhrdw/namcos21_vidhrdw.c:77: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/namcos21_vidhrdw.c:132:28: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'INT32 *' (aka 'int *') increases required alignment from 1 to 4 [-Wcast-align] 132 | const INT32 *pPointData = (INT32 *)memory_region( REGION_USER2 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/namcos11.c:144: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos11.c:797:8: warning: unused function 'construct_coh110' [-Wunused-function] 797 | static MACHINE_DRIVER_START( coh110 ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~~~~~~~ :178:1: note: expanded from here 178 | construct_coh110 | ^~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/redclash.c... In file included from src/vidhrdw/namcos3d.c:1: In file included from src/includes/namcos3d.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ladybug_vidhrdw.c... Compiling src/drivers/ladybug.c... In file included from src/drivers/namcos21.c:187: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos21.c:824:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 824 | data32_t *pMem = (data32_t *)memory_region(REGION_USER2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos21.c:837:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 837 | mpDataROM = (data16_t *)memory_region( REGION_USER1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos21.c:872:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 872 | data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/vidhrdw/cheekyms_vidhrdw.c... In file included from src/vidhrdw/namcos22_vidhrdw.c:45: In file included from src/includes/namcos22.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/redclash.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/redclash.c:65:49: warning: declaration shadows a variable in the global scope [-Wshadow] 65 | static void zerohour_snd_play(INT32 bank, INT32 address, UINT8 data) | ^ src/drivers/redclash.c:61:14: note: previous declaration is here 61 | static INT32 address; | ^ src/drivers/redclash.c:65:64: warning: declaration shadows a variable in the global scope [-Wshadow] 65 | static void zerohour_snd_play(INT32 bank, INT32 address, UINT8 data) | ^ src/drivers/redclash.c:62:14: note: previous declaration is here 62 | static UINT8 data; | ^ src/drivers/redclash.c:171:1: warning: declaration shadows a variable in the global scope [-Wshadow] 171 | WRITE_HANDLER( zerohour_sound_output0_w ) | ^ src/memory.h:127:87: note: expanded from macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^ src/drivers/redclash.c:62:14: note: previous declaration is here 62 | static UINT8 data; | ^ src/drivers/redclash.c:178:1: warning: declaration shadows a variable in the global scope [-Wshadow] 178 | WRITE_HANDLER( zerohour_sound_output1_w ) | ^ src/memory.h:127:87: note: expanded from macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^ src/drivers/redclash.c:62:14: note: previous declaration is here 62 | static UINT8 data; | ^ src/drivers/redclash.c:61:14: warning: unused variable 'address' [-Wunused-variable] 61 | static INT32 address; | ^~~~~~~ src/drivers/redclash.c:62:14: warning: unused variable 'data' [-Wunused-variable] 62 | static UINT8 data; | ^~~~ 10 warnings generated. In file included from src/vidhrdw/cosmic_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cosmic_vidhrdw.c:378:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 378 | if ((!(hc & va) & (vb ^ hb_)) && /* right network */ | ^ ~ src/vidhrdw/cosmic_vidhrdw.c:378:9: note: add parentheses after the '!' to evaluate the bitwise operator first 378 | if ((!(hc & va) & (vb ^ hb_)) && /* right network */ | ^ | ( ) src/vidhrdw/cosmic_vidhrdw.c:378:9: note: add parentheses around left hand side expression to silence this warning 378 | if ((!(hc & va) & (vb ^ hb_)) && /* right network */ | ^ | ( ) src/vidhrdw/cosmic_vidhrdw.c:536:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 536 | if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) | ^ ~ src/vidhrdw/cosmic_vidhrdw.c:536:9: note: add parentheses after the '!' to evaluate the bitwise operator first 536 | if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) | ^ | ( ) src/vidhrdw/cosmic_vidhrdw.c:536:9: note: add parentheses around left hand side expression to silence this warning 536 | if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) | ^ | ( ) src/vidhrdw/cosmic_vidhrdw.c:539:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 539 | if (!hd_ & hc_ & !hb_) | ^ ~ src/vidhrdw/cosmic_vidhrdw.c:539:9: note: add parentheses after the '!' to evaluate the bitwise operator first 539 | if (!hd_ & hc_ & !hb_) | ^ | ( ) src/vidhrdw/cosmic_vidhrdw.c:539:9: note: add parentheses around left hand side expression to silence this warning 539 | if (!hd_ & hc_ & !hb_) | ^ | ( ) src/vidhrdw/cosmic_vidhrdw.c:570:15: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 570 | (!plane1 & hd) << 2; /* B - see above*/ | ^ ~ src/vidhrdw/cosmic_vidhrdw.c:570:15: note: add parentheses after the '!' to evaluate the bitwise operator first 570 | (!plane1 & hd) << 2; /* B - see above*/ | ^ | ( ) src/vidhrdw/cosmic_vidhrdw.c:570:15: note: add parentheses around left hand side expression to silence this warning 570 | (!plane1 & hd) << 2; /* B - see above*/ | ^ | ( ) 8 warnings generated. Compiling src/drivers/cheekyms.c... In file included from src/drivers/namcos22.c:552: In file included from src/includes/namcos22.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos22.c:2423:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2423 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos22.c:2439:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2439 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos22.c:2486:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2486 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos22.c:2498:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2498 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos22.c:602:25: warning: unused function 'namcos22_C139_SCI_w' [-Wunused-function] 602 | static WRITE32_HANDLER( namcos22_C139_SCI_w ) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: expanded from macro 'WRITE32_HANDLER' 131 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) | ^~~~ 9 warnings generated. Compiling src/vidhrdw/mrdo_vidhrdw.c... Compiling src/drivers/mrdo.c... In file included from src/drivers/cosmic.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cosmic.c:71:7: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 71 | break; | ^ src/drivers/cosmic.c:69:6: note: previous statement is here 69 | else | ^ src/drivers/cosmic.c:224:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 224 | sample_start(2, 3, 0); break; | ^ src/drivers/cosmic.c:223:6: note: previous statement is here 223 | else | ^ src/drivers/cosmic.c:235:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 235 | sample_start(3, 4, 0); break; | ^ src/drivers/cosmic.c:234:6: note: previous statement is here 234 | else | ^ src/drivers/cosmic.c:245:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 245 | sample_start(4, 5, 0); break; | ^ src/drivers/cosmic.c:244:6: note: previous statement is here 244 | else | ^ src/drivers/cosmic.c:255:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 255 | sample_start(5, 6, 0); break; | ^ src/drivers/cosmic.c:254:6: note: previous statement is here 254 | else | ^ src/drivers/cosmic.c:265:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 265 | sample_start(6, 7, 0); break; | ^ src/drivers/cosmic.c:264:6: note: previous statement is here 264 | else | ^ src/drivers/cosmic.c:275:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 275 | sample_start(7, 8, 0); break; | ^ src/drivers/cosmic.c:274:6: note: previous statement is here 274 | else | ^ src/drivers/cosmic.c:345:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 345 | cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0xcf); /* RST 08h */ | ^ src/drivers/cosmic.c:342:6: note: previous statement is here 342 | if ((input_port_3_r(0) & 0xc0) != 0xc0) | ^ 12 warnings generated. Compiling src/machine/docastle_machine.c... Compiling src/vidhrdw/docastle_vidhrdw.c... In file included from src/vidhrdw/redclash_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/docastle.c... Compiling src/vidhrdw/dkong_vidhrdw.c... In file included from src/vidhrdw/cheekyms_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/psx_vidhrdw.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/psx_vidhrdw.c:2104:8: warning: variable 'n_dr' set but not used [-Wunused-but-set-variable] 2104 | INT32 n_dr; | ^ src/vidhrdw/psx_vidhrdw.c:2105:8: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable] 2105 | INT32 n_dg; | ^ src/vidhrdw/psx_vidhrdw.c:2106:8: warning: variable 'n_db' set but not used [-Wunused-but-set-variable] 2106 | INT32 n_db; | ^ 7 warnings generated. In file included from src/vidhrdw/mrdo_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ladybug_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ladybug.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/dkong_sndhrdw.c... In file included from src/drivers/cheekyms.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dkong.c... In file included from src/drivers/mrdo.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/strtheat.c... In file included from src/machine/docastle_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mario_vidhrdw.c... Compiling src/sndhrdw/mario_sndhrdw.c... In file included from src/sndhrdw/dkong_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/docastle.c:128: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/docastle.c:902:109: warning: '/*' within block comment [-Wcomment] 902 | /* ROM_LOAD( "09c.bin", 0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) /* color prom */ | ^ 5 warnings generated. In file included from src/vidhrdw/dkong_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/dkong_vidhrdw.c:732:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 732 | offset = (~flip_screen ^ rflip_sig) ? 0x400 : 0x000; | ^ src/vidhrdw/dkong_vidhrdw.c:729:2: note: previous statement is here 729 | if (y <= Machine->visible_area.min_y || y > Machine->visible_area.max_y ) | ^ In file included from src/vidhrdw/dkong_vidhrdw.c:9: src/includes/dkong.h:49:13: warning: unused function 'scanline_callback' [-Wunused-function] 49 | static void scanline_callback(int scanline); | ^~~~~~~~~~~~~~~~~ src/vidhrdw/dkong_vidhrdw.c:222:27: warning: unused variable 'radarscp1_net_info' [-Wunused-const-variable] 222 | static const res_net_info radarscp1_net_info = | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/dkong_vidhrdw.c:782:13: warning: unused function 'draw_grid' [-Wunused-function] 782 | static void draw_grid(struct mame_bitmap *bitmap) | ^~~~~~~~~ 8 warnings generated. Compiling src/drivers/mario.c... Compiling src/vidhrdw/popeye_vidhrdw.c... In file included from src/vidhrdw/docastle_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/punchout_vidhrdw.c... Compiling src/drivers/popeye.c... Compiling src/drivers/punchout.c... In file included from src/machine/strtheat.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/rp5h01.c... In file included from src/vidhrdw/mario_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ppu2c03b.c... In file included from src/drivers/dkong.c:137: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/drivers/dkong.c:138: src/includes/dkong.h:49:13: warning: unused function 'scanline_callback' [-Wunused-function] 49 | static void scanline_callback(int scanline); | ^~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/sndhrdw/mario_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/popeye_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/playch10_machine.c... In file included from src/drivers/mario.c:71: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/playch10_vidhrdw.c... In file included from src/drivers/popeye.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/playch10.c... In file included from src/vidhrdw/punchout_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/vsnes_machine.c... In file included from src/drivers/punchout.c:97: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vsnes_vidhrdw.c... Compiling src/drivers/vsnes.c... In file included from src/machine/rp5h01.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/playch10_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ppu2c03b.c:11: In file included from src/vidhrdw/ppu2c03b.h:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/snes_machine.c... Compiling src/vidhrdw/snes_vidhrdw.c... In file included from src/vidhrdw/playch10_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/snes_sndhrdw.c... In file included from src/machine/vsnes_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nss.c... In file included from src/vidhrdw/vsnes_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/8080bw_vidhrdw.c... Compiling src/machine/8080bw.c... In file included from src/drivers/vsnes.c:128: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/vsnes.c:524:1: warning: unused variable 'input_ports_vsnes' [-Wunused-const-variable] 524 | INPUT_PORTS_START( vsnes ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :181:1: note: expanded from here 181 | input_ports_vsnes | ^~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/playch10.c:296: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/8080bw_sndhrdw.c... Compiling src/drivers/8080bw_drivers.c... Compiling src/vidhrdw/sspeedr_vidhrdw.c... In file included from src/machine/snes_machine.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/snes_machine.c:53:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 53 | snes_cgram = (UINT16 *)memory_region( REGION_USER1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/snes_machine.c:57:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 57 | snes_oam = (UINT16 *)memory_region( REGION_USER2 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/snes_machine.c:1215:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1215 | void snes_hdma_init() | ^ | void src/machine/snes_machine.c:1233:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1233 | void snes_hdma() | ^ | void src/machine/snes_machine.c:1051:12: warning: unused function 'snes_validate_infoblock' [-Wunused-function] 1051 | static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset ) | ^~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. Compiling src/drivers/sspeedr.c... In file included from src/machine/8080bw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/snes_sndhrdw.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/m79amb_vidhrdw.c... In file included from src/drivers/nss.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m79amb.c... Compiling src/drivers/rotaryf.c... In file included from src/vidhrdw/8080bw_vidhrdw.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lazercmd.c... In file included from src/vidhrdw/sspeedr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/lazercmd_vidhrdw.c... In file included from src/vidhrdw/snes_vidhrdw.c:77: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snes_vidhrdw.c:1131:27: warning: variable 'pal' set but not used [-Wunused-but-set-variable] 1131 | UINT16 ii, vflip, hflip, pal; | ^ 5 warnings generated. Compiling src/drivers/meadows.c... Compiling src/sndhrdw/meadows_sndhrdw.c... Compiling src/vidhrdw/meadows_vidhrdw.c... In file included from src/vidhrdw/m79amb_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/8080bw_sndhrdw.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/8080bw_sndhrdw.c:775:49: warning: implicit conversion from 'double' to 'int' changes value from 0.6034 to 0 [-Wliteral-conversion] 775 | DISCRETE_MULTIPLY(NODE_52, 1, POLARIS_ADJ_VR2, 0.6034) /* Basic Volume Adj * Relative Gain */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/sound/discrete.h:2323:114: note: expanded from macro 'DISCRETE_MULTIPLY' 2323 | #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, | ~ ^~~~ src/sndhrdw/8080bw_sndhrdw.c:773:49: warning: implicit conversion from 'double' to 'int' changes value from 5.75 to 5 [-Wliteral-conversion] 773 | DISCRETE_SAWTOOTHWAVE(NODE_50, POLARIS_SX2_EN, 5.75, 2040.0-245.0, (2040.0-245.0)/2, 1, 0) /* Modulation Wave */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2284:109: note: expanded from macro 'DISCRETE_SAWTOOTHWAVE' 2284 | #define DISCRETE_SAWTOOTHWAVE(NODE,ENAB,FREQ,AMPL,BIAS,GRAD,PHASE) { NODE, DSS_SAWTOOTHWAVE, 6, { ENAB,FREQ,AMPL,BIAS,NODE_NC,NODE_NC }, { ENAB,FREQ,AMPL,BIAS,GRAD,PHASE }, NULL, "Saw Tooth Wave" }, | ~ ^~~~ src/sndhrdw/8080bw_sndhrdw.c:754:41: warning: implicit conversion from 'double' to 'int' changes value from 0.4375 to 0 [-Wliteral-conversion] 754 | DISCRETE_MULTIPLY(NODE_41, 1, NODE_40, 0.4375) /* Relative Gain */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/sound/discrete.h:2323:114: note: expanded from macro 'DISCRETE_MULTIPLY' 2323 | #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, | ~ ^~~~ src/sndhrdw/8080bw_sndhrdw.c:735:41: warning: implicit conversion from 'double' to 'int' changes value from 0.6034 to 0 [-Wliteral-conversion] 735 | DISCRETE_MULTIPLY(NODE_35, 1, NODE_34, 0.6034) /* Relative Gain */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/sound/discrete.h:2323:114: note: expanded from macro 'DISCRETE_MULTIPLY' 2323 | #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, | ~ ^~~~ src/sndhrdw/8080bw_sndhrdw.c:710:49: warning: implicit conversion from 'double' to 'int' changes value from 0.7527 to 0 [-Wliteral-conversion] 710 | DISCRETE_MULTIPLY(NODE_74, 1, POLARIS_ADJ_VR1, 0.7527) /* Basic Volume Adj * Relative Gain */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/sound/discrete.h:2323:114: note: expanded from macro 'DISCRETE_MULTIPLY' 2323 | #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, | ~ ^~~~ src/sndhrdw/8080bw_sndhrdw.c:695:48: warning: implicit conversion from 'double' to 'int' changes value from 0.8 to 0 [-Wliteral-conversion] 695 | DISCRETE_LFSR_NOISE(NODE_32, 1, 1, 44140.0/2, 0.8, NODE_30, 0, &polaris_lfsr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2282:120: note: expanded from macro 'DISCRETE_LFSR_NOISE' 2282 | #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,FREQ,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, | ~ ^~~~ src/sndhrdw/8080bw_sndhrdw.c:688:51: warning: implicit conversion from 'double' to 'int' changes value from 0.01 to 0 [-Wliteral-conversion] 688 | DISCRETE_SQUAREWFIX(NODE_30, 1, (60.0/512.0), 1, 0.01, 1.0/2, 359.0) /* feed frequency to keep the noise going */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:119: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/sndhrdw/8080bw_sndhrdw.c:1306:51: warning: '/*' within block comment [-Wcomment] 1306 | /*if (rising_bits & 0x10) sample_start(3, 9, 0); /* Dog barking */ | ^ src/sndhrdw/8080bw_sndhrdw.c:1542:29: warning: '/*' within block comment [-Wcomment] 1542 | /*sample_start (1, 6, 0); /* Background continual? */ | ^ 13 warnings generated. In file included from src/drivers/sspeedr.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/m79amb.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/rotaryf.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cvs.c... Compiling src/vidhrdw/cvs_vidhrdw.c... Compiling src/vidhrdw/s2636_vidhrdw.c... In file included from src/vidhrdw/lazercmd_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/8080bw_drivers.c:87: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/8080bw_drivers.c:141:26: warning: unused variable 'writeport_2_3' [-Wunused-const-variable] 141 | static PORT_WRITE_START( writeport_2_3 ) | ^~~~~~~~~~~~~ src/memory.h:571:69: note: expanded from macro 'PORT_WRITE_START' 571 | #define PORT_WRITE_START(name) MEMPORT_ARRAY_START(IO_WritePort, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_IO | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 5 warnings generated. In file included from src/vidhrdw/meadows_vidhrdw.c:7: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/astrocde_machine.c... In file included from src/drivers/lazercmd.c:223: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/astrocde_vidhrdw.c... In file included from src/sndhrdw/meadows_sndhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/astrocde.c... In file included from src/drivers/meadows.c:118: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/cvs.c:85: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/astrocde_sndhrdw.c... Compiling src/sndhrdw/gorf.c... In file included from src/vidhrdw/s2636_vidhrdw.c:76: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/cvs_vidhrdw.c:9: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cvs_vidhrdw.c:541:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 541 | copyscrollbitmap(bitmap,tmpbitmap,0,0,8,scroll,&Machine->visible_area,TRANSPARENCY_NONE,0); | ^ src/vidhrdw/cvs_vidhrdw.c:536:5: note: previous statement is here 536 | for(offs=128;offs<256;offs++) | ^ 5 warnings generated. Compiling src/machine/mcr.c... Compiling src/sndhrdw/mcr_sndhrdw.c... Compiling src/vidhrdw/mcr12_vidhrdw.c... In file included from src/machine/astrocde_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/astrocde.c:65: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mcr3_vidhrdw.c... Compiling src/drivers/mcr1.c... In file included from src/sndhrdw/astrocde_sndhrdw.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/gorf.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mcr2.c... Compiling src/drivers/mcr3.c... In file included from src/vidhrdw/astrocde_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mcr68_vidhrdw.c... Compiling src/drivers/mcr68.c... In file included from src/machine/mcr.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mcr1.c:78: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/balsente_vidhrdw.c... Compiling src/machine/balsente_machine.c... In file included from src/sndhrdw/mcr_sndhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mcr3_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gridlee_vidhrdw.c... Compiling src/drivers/balsente.c... Compiling src/sndhrdw/gridlee_sndhrdw.c... In file included from src/vidhrdw/mcr12_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mcr2.c:81: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gridlee.c... In file included from src/vidhrdw/mcr68_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mcr3.c:89: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/seattle.c... Compiling src/vidhrdw/voodoo_vidhrdw.c... In file included from src/drivers/mcr68.c:51: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/balsente_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/exterm_vidhrdw.c... In file included from src/sndhrdw/gridlee_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exterm.c... In file included from src/vidhrdw/gridlee_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/midwayic.c... Compiling src/sndhrdw/dcs.c... In file included from src/drivers/gridlee.c:80: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/midyunit_machine.c... In file included from src/machine/balsente_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/balsente_machine.c:1025:11: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 1025 | double temp = 0; | ^ 5 warnings generated. Compiling src/vidhrdw/midyunit_vidhrdw.c... In file included from src/vidhrdw/exterm_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/balsente.c:212: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/midyunit.c... Compiling src/drivers/midxunit.c... In file included from src/drivers/seattle.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/seattle.c:221:24: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 221 | data32_t *cmos_base = (data32_t *)generic_nvram; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/seattle.c:228:24: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 228 | data32_t *cmos_base = (data32_t *)generic_nvram; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/machine/midwunit_machine.c... Compiling src/drivers/midwunit.c... In file included from src/drivers/exterm.c:59: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/midvunit_vidhrdw.c... Compiling src/drivers/midvunit.c... In file included from src/machine/midwayic.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/dcs.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c:333:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 333 | data32_t *dst = (data32_t *)(memory_region(REGION_CPU1 + dcs_cpunum) + ADSP2100_PGM_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c:451:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 451 | dcs_sram_bank1 = (UINT16 *)(memory_region(REGION_CPU1 + dcs_cpunum) + 0x8000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c:455:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 455 | dcs_expanded_rom = (UINT16 *)(memory_region(REGION_CPU1 + dcs_cpunum) + 0xc000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c:1058:53: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1058 | dcs.buffer[dcs.buffer_in++ & DCS_BUFFER_MASK] = ((UINT16 *)&dcs.mem[source])[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c:1064:51: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1064 | dcs.buffer[dcs.buffer_in & DCS_BUFFER_MASK] = ((UINT16 *)&dcs.mem[source])[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c:1065:52: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1065 | dcs.buffer2[dcs.buffer_in & DCS_BUFFER_MASK] = ((UINT16 *)&dcs.mem[source])[i + dcs.incs]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c:1290:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'INT16 *' (aka 'short *') increases required alignment from 1 to 2 [-Wcast-align] 1290 | INT16 *source = (INT16 *)memory_region(REGION_CPU1 + dcs_cpunum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. Compiling src/machine/midtunit_machine.c... Compiling src/vidhrdw/midtunit_vidhrdw.c... In file included from src/drivers/midxunit.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/midyunit.c:30: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/midtunit.c... Compiling src/vidhrdw/skychut_vidhrdw.c... In file included from src/machine/midyunit_machine.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:454:11: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 454 | a8 = READ_INT32(a1+0x1c0); /* MOVE *A1(1C0h),A8,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:455:11: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 455 | a7 = READ_INT32(a1+0x1a0); /* MOVE *A1(1A0h),A7,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:468:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:392:8: note: expanded from macro 'T2_FFC08C40' 392 | a5x = READ_INT32(a5x+0xa0); /* MOVE *A5(A0h),A5,1 */ \ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:468:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:393:8: note: expanded from macro 'T2_FFC08C40' 393 | a3x = READ_INT32(a3x+0xa0); /* MOVE *A3(A0h),A3,1 */ \ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:468:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:394:8: note: expanded from macro 'T2_FFC08C40' 394 | a6x = READ_INT32(a1+0x140); /* MOVE *A1(140h),A6,1*/ \ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:468:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:397:2: note: expanded from macro 'T2_FFC08C40' 397 | WRITE_INT32(a1+0x140, a6xa7x & 0xffffffff); /* MOVE A6,*A1(140h),1*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:469:11: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 469 | a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:470:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 470 | WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:471:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 471 | WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:473:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 473 | WRITE_INT32(a1+0x20, a14); /* MOVE A14,*A1(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:474:10: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 474 | a9 = READ_INT32(a14); /* MOVE *A14,A9,1 */ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:475:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 475 | WRITE_INT32(a14, a1); /* MOVE A1,*A14,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:476:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 476 | WRITE_INT32(a9+0x20, a1); /* MOVE A1,*A9(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:477:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 477 | WRITE_INT32(a1, a9); /* MOVE A9,*A1,1 */ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:487:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:392:8: note: expanded from macro 'T2_FFC08C40' 392 | a5x = READ_INT32(a5x+0xa0); /* MOVE *A5(A0h),A5,1 */ \ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:487:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:393:8: note: expanded from macro 'T2_FFC08C40' 393 | a3x = READ_INT32(a3x+0xa0); /* MOVE *A3(A0h),A3,1 */ \ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:487:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:394:8: note: expanded from macro 'T2_FFC08C40' 394 | a6x = READ_INT32(a1+0x140); /* MOVE *A1(140h),A6,1*/ \ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:487:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:397:2: note: expanded from macro 'T2_FFC08C40' 397 | WRITE_INT32(a1+0x140, a6xa7x & 0xffffffff); /* MOVE A6,*A1(140h),1*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:488:11: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 488 | a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:489:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 489 | WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:490:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 490 | WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:492:10: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 492 | a9 = READ_INT32(a14+0x20); /* MOVE *A14(20h),A9,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:493:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 493 | WRITE_INT32(a1, a14); /* MOVE A14,*A1,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:494:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 494 | WRITE_INT32(a14+0x20, a1); /* MOVE A1,*A14(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:495:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 495 | WRITE_INT32(a9, a1); /* MOVE A1,*A9,1 */ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:496:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 496 | WRITE_INT32(a1+0x20, a9); /* MOVE A9,*A1(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:517:11: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 517 | a14 = READ_INT32(a0+0x20); /* MOVE *A0(20h),A14,1 */ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:518:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 518 | WRITE_INT32(a14, a1); /* MOVE A1,*A14,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:519:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 519 | WRITE_INT32(a1+0x20, a14); /* MOVE A14,*A1(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:520:11: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 520 | a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:521:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 521 | WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ | ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:522:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 522 | WRITE_INT32(a1, a0); /* MOVE A0,*A1,1 */ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:523:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 523 | WRITE_INT32(a0 +0x20, a1); /* MOVE A1,*A0(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:524:5: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 524 | WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:533:10: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 533 | a1 = READ_INT32(a0); /* MOVE *A0,A1,1 */ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:578:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :172:1: note: expanded from here 172 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:603:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :173:1: note: expanded from here 173 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :174:1: note: expanded from here 174 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:628:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:563:2: note: expanded from macro 'DO_SPEEDUP_LOOP_1' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:647:11: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 647 | temp1 = READ_INT32(LOC1); \ | ^~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:648:11: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 648 | temp2 = READ_INT32(LOC2); \ | ^~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:649:11: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 649 | temp3 = READ_INT32(LOC3); \ | ^~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :175:1: note: expanded from here 175 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :176:1: note: expanded from here 176 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:655:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :177:1: note: expanded from here 177 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :178:1: note: expanded from here 178 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:656:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :179:1: note: expanded from here 179 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ :180:1: note: expanded from here 180 | READ_INT32 | ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:27: note: expanded from macro 'READ_U32' 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) src/machine/midyunit_machine.c:318:72: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:671:3: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:657:3: note: expanded from macro 'DO_SPEEDUP_LOOP_3' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:27: note: expanded from macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^~~~~~~~~~ 105 warnings generated. Compiling src/drivers/skychut.c... In file included from src/drivers/midwunit.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/midyunit_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/olibochu.c... In file included from src/machine/midwunit_machine.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midwunit_machine.c:79:18: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 79 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midwunit_machine.c:79:18: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 79 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midwunit_machine.c:92:17: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 92 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midwunit_machine.c:92:17: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 92 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midwunit_machine.c:98:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 98 | return ((data16_t *)generic_nvram)[offset]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. In file included from src/machine/midtunit_machine.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midtunit_machine.c:74:18: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 74 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midtunit_machine.c:74:18: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 74 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midtunit_machine.c:89:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 89 | return ((data16_t *)generic_nvram)[offset]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/sndhrdw/irem.c... Compiling src/vidhrdw/mpatrol_vidhrdw.c... Compiling src/drivers/mpatrol.c... In file included from src/drivers/skychut.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/skychut_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/troangel_vidhrdw.c... In file included from src/drivers/midvunit.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/midvunit.c:183:20: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 183 | data32_t *cmos = (data32_t *)generic_nvram; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/midvunit.c:191:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 191 | data32_t *cmos = (data32_t *)generic_nvram; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/midvunit.c:356:24: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 356 | data32_t *cmos_base = (data32_t *)generic_nvram; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/midvunit.c:311:24: warning: unused function 'crusnwld_serial_status_r' [-Wunused-function] 311 | static READ32_HANDLER( crusnwld_serial_status_r ) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: expanded from macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/midvunit.c:318:24: warning: unused function 'crusnwld_serial_data_r' [-Wunused-function] 318 | static READ32_HANDLER( crusnwld_serial_data_r ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: expanded from macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/midvunit.c:324:25: warning: unused function 'crusnwld_serial_data_w' [-Wunused-function] 324 | static WRITE32_HANDLER( crusnwld_serial_data_w ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: expanded from 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:1395:8: warning: unused function 'init_crusnw20' [-Wunused-function] 1395 | static DRIVER_INIT( crusnw20 ) { init_crusnwld_common(0xd49c); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~~~~~~~ :116:1: note: expanded from here 116 | init_crusnw20 | ^~~~~~~~~~~~~ src/drivers/midvunit.c:1396:8: warning: unused function 'init_crusnw13' [-Wunused-function] 1396 | static DRIVER_INIT( crusnw13 ) { init_crusnwld_common(0); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~~~~~~~ :117:1: note: expanded from here 117 | init_crusnw13 | ^~~~~~~~~~~~~ 12 warnings generated. Compiling src/drivers/troangel.c... In file included from src/drivers/midtunit.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/yard_vidhrdw.c... In file included from src/sndhrdw/irem.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yard.c... In file included from src/drivers/olibochu.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mpatrol.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/midvunit_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midvunit_vidhrdw.c:1029:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1029 | if (dma_data_index < 16) | ^ src/vidhrdw/midvunit_vidhrdw.c:1027:1: note: previous statement is here 1027 | if (LOG_DMA && keyboard_pressed(KEYCODE_L)) | ^ 5 warnings generated. Compiling src/drivers/travrusa.c... Compiling src/vidhrdw/travrusa_vidhrdw.c... Compiling src/drivers/wilytowr.c... In file included from src/vidhrdw/mpatrol_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/m62_vidhrdw.c... Compiling src/drivers/m62.c... In file included from src/drivers/troangel.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vigilant_vidhrdw.c... In file included from src/vidhrdw/troangel_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vigilant.c... Compiling src/vidhrdw/m72_vidhrdw.c... In file included from src/vidhrdw/yard_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/yard.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/wilytowr.c:29: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/wilytowr.c:276:22: warning: unused function 'snd_status_r' [-Wunused-function] 276 | static READ_HANDLER( snd_status_r ) | ^~~~~~~~~~~~ src/memory.h:126:39: note: expanded from macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ 5 warnings generated. Compiling src/sndhrdw/m72_sndhrdw.c... Compiling src/drivers/m72.c... In file included from src/vidhrdw/m72_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/travrusa_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shisen_vidhrdw.c... In file included from src/drivers/travrusa.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/vigilant_vidhrdw.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shisen.c... Compiling src/machine/irem_cpu.c... In file included from src/vidhrdw/m62_vidhrdw.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/m90_vidhrdw.c... Compiling src/drivers/m90.c... In file included from src/sndhrdw/m72_sndhrdw.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/m92_vidhrdw.c... In file included from src/drivers/vigilant.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/m62.c:52: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m92.c... Compiling src/vidhrdw/m107_vidhrdw.c... Compiling src/drivers/m107.c... In file included from src/drivers/shisen.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/shisen_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/m72.c:72: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/m72.c:136:12: warning: unused function 'find_sample' [-Wunused-function] 136 | static int find_sample(int num) | ^~~~~~~~~~~ 5 warnings generated. In file included from src/machine/irem_cpu.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gottlieb_vidhrdw.c... In file included from src/drivers/m90.c:27: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/m90.c:438:1: warning: unused variable 'input_ports_m97' [-Wunused-const-variable] 438 | INPUT_PORTS_START( m97 ) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :172:1: note: expanded from here 172 | input_ports_m97 | ^~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/sndhrdw/gottlieb_sndhrdw.c... Compiling src/drivers/gottlieb.c... Compiling src/machine/chaknpop_machine.c... Compiling src/drivers/sbowling.c... In file included from src/vidhrdw/m107_vidhrdw.c:37: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/m92_vidhrdw.c:42: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/chaknpop_vidhrdw.c... In file included from src/vidhrdw/m90_vidhrdw.c:27: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/chaknpop.c... Compiling src/machine/qix_machine.c... In file included from src/drivers/m107.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/qix_vidhrdw.c... In file included from src/drivers/gottlieb.c:149: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/gottlieb_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gottlieb_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/qix.c... In file included from src/drivers/m92.c:103: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/taitosj_machine.c... In file included from src/drivers/sbowling.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/chaknpop_machine.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/voodoo_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2971:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 2971 | while (lod != 0) | ^ src/vidhrdw/voodoo_vidhrdw.c:2969:1: note: previous statement is here 2969 | if (s == 0 && t == 0) | ^ src/vidhrdw/voodoo_vidhrdw.c:3006:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3006 | UINT16 *dest = (UINT16 *)textureram[trex]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3323: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3329: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3329: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3335: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3335: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3341: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3341: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3376: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3376: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3382: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3382: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3388: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3388: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3399: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3399: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3405: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3405: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3451: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3451: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3451: src/vidhrdw/voodblit.c:1262:14: warning: no case matching constant switch condition '0' 1262 | switch (ALPHAMODE_BITS(1,3)) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:14:2: note: expanded from macro 'ALPHAMODE_BITS' 14 | BITFIELD(ALPHAMODE, ALPHAMODE_MASK, voodoo_regs[alphaMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3465: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3465: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3465: src/vidhrdw/voodblit.c:1262:14: warning: no case matching constant switch condition '0' 1262 | switch (ALPHAMODE_BITS(1,3)) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:14:2: note: expanded from macro 'ALPHAMODE_BITS' 14 | BITFIELD(ALPHAMODE, ALPHAMODE_MASK, voodoo_regs[alphaMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3479: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3479: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3493: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3493: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3507: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3507: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3507: src/vidhrdw/voodblit.c:1262:14: warning: no case matching constant switch condition '0' 1262 | switch (ALPHAMODE_BITS(1,3)) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:14:2: note: expanded from macro 'ALPHAMODE_BITS' 14 | BITFIELD(ALPHAMODE, ALPHAMODE_MASK, voodoo_regs[alphaMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3521: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' 951 | switch (TEXTUREMODE0_BITS(14,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3521: src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' 1017 | switch (TEXTUREMODE0_BITS(23,3)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' 18 | BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' 8 | (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3657: src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3664: src/vidhrdw/voodblit.c:436:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 436 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:513:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 513 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:528:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 528 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:544:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 544 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:560:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 560 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:792:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^~~~~~~~~~~~~~~~~~~~~ 129 warnings generated. Compiling src/vidhrdw/taitosj_vidhrdw.c... Compiling src/drivers/taitosj.c... In file included from src/drivers/chaknpop.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/qix_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/grchamp_machine.c... Compiling src/vidhrdw/grchamp_vidhrdw.c... In file included from src/vidhrdw/chaknpop_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/qix_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/taitosj_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/grchamp.c... Compiling src/machine/pitnrun_machine.c... In file included from src/drivers/qix.c:194: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pitnrun_vidhrdw.c... In file included from src/vidhrdw/midtunit_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 593 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ~ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:550:73: note: expanded from macro 'DECLARE_BLITTER_SET' 550 | #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:38: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:551:97: note: expanded from macro 'DECLARE_BLITTER_SET' 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:38: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:552:97: note: expanded from macro 'DECLARE_BLITTER_SET' 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:38: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:553:97: note: expanded from macro 'DECLARE_BLITTER_SET' 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:38: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:554:98: note: expanded from macro 'DECLARE_BLITTER_SET' 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:38: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:555:97: note: expanded from macro 'DECLARE_BLITTER_SET' 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:38: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:556:98: note: expanded from macro 'DECLARE_BLITTER_SET' 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:558:38: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:557:97: note: expanded from macro 'DECLARE_BLITTER_SET' 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:38: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ~ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:559:26: note: expanded from macro 'DECLARE_BLITTER_SET' 559 | \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:38: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ~ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:560:97: note: expanded from macro 'DECLARE_BLITTER_SET' 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:38: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ~ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:561:97: note: expanded from macro 'DECLARE_BLITTER_SET' 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:38: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ~ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:562:97: note: expanded from macro 'DECLARE_BLITTER_SET' 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:38: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ~ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:563:98: note: expanded from macro 'DECLARE_BLITTER_SET' 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:38: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ~ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:564:97: note: expanded from macro 'DECLARE_BLITTER_SET' 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:38: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ~ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:565:98: note: expanded from macro 'DECLARE_BLITTER_SET' 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:392:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 392 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:441:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 441 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:63: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:567:38: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ~ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:32: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:447:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 447 | int pixel = (extractor(mask)); \ | ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:523:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 523 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' 358 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:594:1: warning: variable 'endskip' set but not used [-Wunused-but-set-variable] src/vidhrdw/midtunit_vidhrdw.c:566:97: note: expanded from macro 'DECLARE_BLITTER_SET' 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^ src/vidhrdw/midtunit_vidhrdw.c:382:7: note: expanded from macro 'DMA_DRAW_FUNC_BODY' 382 | int endskip = dma_state.endskip << 8; \ | ^ 324 warnings generated. Compiling src/drivers/pitnrun.c... In file included from src/machine/grchamp_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/marinedt.c... In file included from src/drivers/taitosj.c:125: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crbaloon_vidhrdw.c... In file included from src/vidhrdw/taitosj_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/crbaloon.c... In file included from src/machine/pitnrun_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bking2_vidhrdw.c... Compiling src/drivers/bking2.c... In file included from src/drivers/grchamp.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/grchamp_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/pitnrun_vidhrdw.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pitnrun.c:66: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gsword.c... In file included from src/vidhrdw/crbaloon_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gsword_vidhrdw.c... Compiling src/machine/tait8741.c... In file included from src/drivers/marinedt.c:95: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/crbaloon.c:52: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/msisaac_vidhrdw.c... Compiling src/drivers/msisaac.c... In file included from src/drivers/bking2.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/retofinv_machine.c... In file included from src/drivers/gsword.c:144: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/retofinv_vidhrdw.c... In file included from src/vidhrdw/bking2_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/retofinv.c... In file included from src/machine/tait8741.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gsword_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rollrace_vidhrdw.c... Compiling src/drivers/rollrace.c... Compiling src/vidhrdw/40love_vidhrdw.c... In file included from src/drivers/msisaac.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/msisaac.c:344:27: warning: unused variable 'mcu_readmem' [-Wunused-const-variable] 344 | static MEMORY_READ_START( mcu_readmem ) | ^~~~~~~~~~~ src/memory.h:559:77: note: expanded from macro 'MEMORY_READ_START' 559 | #define MEMORY_READ_START(name) MEMPORT_ARRAY_START(Memory_ReadAddress, name, MEMPORT_DIRECTION_READ | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/msisaac.c:352:28: warning: unused variable 'mcu_writemem' [-Wunused-const-variable] 352 | static MEMORY_WRITE_START( mcu_writemem ) | ^~~~~~~~~~~~ src/memory.h:560:77: note: expanded from macro 'MEMORY_WRITE_START' 560 | #define MEMORY_WRITE_START(name) MEMPORT_ARRAY_START(Memory_WriteAddress, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 6 warnings generated. Compiling src/drivers/40love.c... In file included from src/machine/retofinv_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/msisaac_vidhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ssrj_vidhrdw.c... Compiling src/drivers/ssrj.c... In file included from src/drivers/rollrace.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/retofinv.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/bigevglf_machine.c... In file included from src/vidhrdw/rollrace_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bigevglf_vidhrdw.c... In file included from src/drivers/40love.c:220: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/retofinv_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bigevglf.c... Compiling src/vidhrdw/tsamurai_vidhrdw.c... Compiling src/drivers/tsamurai.c... In file included from src/vidhrdw/40love_vidhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ssrj.c:32: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/flstory_machine.c... In file included from src/vidhrdw/ssrj_vidhrdw.c:1: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/bigevglf_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/flstory_vidhrdw.c... Compiling src/drivers/flstory.c... In file included from src/vidhrdw/tsamurai_vidhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gladiatr.c... In file included from src/machine/flstory_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gladiatr_vidhrdw.c... Compiling src/machine/nycaptor_machine.c... In file included from src/vidhrdw/bigevglf_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/bigevglf.c:58: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nycaptor_vidhrdw.c... Compiling src/drivers/nycaptor.c... In file included from src/drivers/flstory.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tsamurai.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/halleys.c... In file included from src/vidhrdw/flstory_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/nycaptor_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jollyjgr.c... Compiling src/machine/lsasquad_machine.c... In file included from src/vidhrdw/nycaptor_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gladiatr.c:101: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/lsasquad_vidhrdw.c... Compiling src/drivers/lsasquad.c... Compiling src/machine/bublbobl_machine.c... In file included from src/vidhrdw/gladiatr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/nycaptor.c:149: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bublbobl_vidhrdw.c... Compiling src/drivers/bublbobl.c... In file included from src/drivers/jollyjgr.c:100: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/bublbobl_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/missb2.c... Compiling src/machine/mexico86_machine.c... In file included from src/vidhrdw/lsasquad_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/lsasquad.c:32: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/lsasquad_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mexico86_vidhrdw.c... Compiling src/drivers/mexico86.c... Compiling src/vidhrdw/darius_vidhrdw.c... Compiling src/drivers/darius.c... Compiling src/vidhrdw/rastan_vidhrdw.c... In file included from src/drivers/halleys.c:160: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:923:6: warning: cast from 'WORD *' (aka 'unsigned short *') to 'DWORD *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 923 | WARP_LINE_COMMON | ^~~~~~~~~~~~~~~~ src/drivers/halleys.c:886:19: note: expanded from macro 'WARP_LINE_COMMON' 886 | while (ecx) { *(DWORD*)(dst_ptr+ecx) = eax; ecx += 2; } } | ^~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:928:5: warning: cast from 'WORD *' (aka 'unsigned short *') to 'DWORD *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 928 | WARP_LINE_COMMON | ^~~~~~~~~~~~~~~~ src/drivers/halleys.c:886:19: note: expanded from macro 'WARP_LINE_COMMON' 886 | while (ecx) { *(DWORD*)(dst_ptr+ecx) = eax; ecx += 2; } } | ^~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:1459:8: warning: cast from 'WORD *' (aka 'unsigned short *') to 'DWORD *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 1459 | edi = (DWORD*)((WORD*)bitmap->line[VIS_MINY] + VIS_MINX + CLIP_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:2193:71: warning: cast from 'BYTE *' (aka 'unsigned char *') to 'WORD *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2193 | for (i=0; iextend) sx=-sx+((188-512)<<16); else sx=-sx+(188<<16); /* Adjust for flipped scroll position */ | ~~~~~~~~~^ src/vidhrdw/taito_f3_vidhrdw.c:2900:40: warning: variable 'old_y' set but not used [-Wunused-but-set-variable] 2900 | int offs,spritecont,flipx,flipy,old_x,old_y,color,x,y; | ^ 6 warnings generated. Compiling src/machine/kyugo_machine.c... In file included from src/vidhrdw/snowbros_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/toaplan1_vidhrdw.c:94: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/toaplan1_vidhrdw.c:1173:7: warning: variable 'layer' set but not used [-Wunused-but-set-variable] 1173 | int layer; | ^ src/vidhrdw/toaplan1_vidhrdw.c:1274:7: warning: variable 'layer' set but not used [-Wunused-but-set-variable] 1274 | int layer; | ^ 6 warnings generated. Compiling src/drivers/kyugo.c... Compiling src/machine/williams_machine.c... Compiling src/vidhrdw/williams_vidhrdw.c... In file included from src/drivers/snowbros.c:60: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/snowbros.c:1130:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1130 | data16_t *PROTDATA = (data16_t*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/snowbros.c:1139:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1139 | data16_t *PROTDATA = (data16_t*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/williams.c... In file included from src/vidhrdw/toaplan2_vidhrdw.c:147: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/toaplan2_vidhrdw.c:1589:10: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 1589 | vramp = (UINT32*)bgvideoram16[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/toaplan2_vidhrdw.c:1604:10: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 1604 | vramp = (UINT32*)fgvideoram16[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/toaplan2_vidhrdw.c:1610:10: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 1610 | vramp = (UINT32*)topvideoram16[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/sndhrdw/williams_sndhrdw.c... In file included from src/vidhrdw/kyugo_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vulgus_vidhrdw.c... In file included from src/vidhrdw/cave_vidhrdw.c:47: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cave_vidhrdw.c:902:18: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 902 | UINT16 *dest = (UINT16 *)(blit.baseaddr + blit.line_offset*y1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cave_vidhrdw.c:994:18: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 994 | UINT16 *dest = (UINT16 *)(blit.baseaddr + blit.line_offset*y1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cave_vidhrdw.c:996:17: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 996 | UINT16 *zbf = (UINT16 *)(blit.baseaddr_zbuf + blit.line_offset_zbuf*y1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cave_vidhrdw.c:1088:18: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1088 | UINT16 *dest = (UINT16 *)(blit.baseaddr + blit.line_offset*y1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cave_vidhrdw.c:1165:18: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1165 | UINT16 *dest = (UINT16 *)(blit.baseaddr + blit.line_offset*y1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cave_vidhrdw.c:1167:17: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1167 | UINT16 *zbf = (UINT16 *)(blit.baseaddr_zbuf + blit.line_offset_zbuf*y1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. Compiling src/drivers/vulgus.c... In file included from src/machine/kyugo_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sonson_vidhrdw.c... In file included from src/machine/williams_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sonson.c... In file included from src/drivers/toaplan2.c:231: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/toaplan2.c:407:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 407 | data16_t *bgdata = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/toaplan2.c:416:31: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 416 | data16_t *pipibibi_68k_rom = (data16_t *)(memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/drivers/kyugo.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/cave.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cave.c:4017:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 4017 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/higemaru_vidhrdw.c... Compiling src/drivers/higemaru.c... In file included from src/vidhrdw/vulgus_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/1942_vidhrdw.c... In file included from src/sndhrdw/williams_sndhrdw.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/williams.c:477: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/1942.c... In file included from src/drivers/vulgus.c:42: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/exedexes_vidhrdw.c... In file included from src/drivers/sonson.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sonson_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exedexes.c... Compiling src/vidhrdw/commando_vidhrdw.c... Compiling src/drivers/commando.c... Compiling src/vidhrdw/gng_vidhrdw.c... Compiling src/drivers/gng.c... In file included from src/vidhrdw/higemaru_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/1942.c:61: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gunsmoke_vidhrdw.c... In file included from src/drivers/higemaru.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gunsmoke.c... In file included from src/drivers/commando.c:45: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/1942_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/exedexes.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/williams_vidhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/srumbler_vidhrdw.c... In file included from src/vidhrdw/commando_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/srumbler.c... In file included from src/vidhrdw/exedexes_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/lwings_vidhrdw.c... In file included from src/drivers/gng.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gunsmoke.c:57: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lwings.c... Compiling src/vidhrdw/sidearms_vidhrdw.c... In file included from src/vidhrdw/gng_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/srumbler_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sidearms.c... Compiling src/vidhrdw/bionicc_vidhrdw.c... In file included from src/vidhrdw/gunsmoke_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/srumbler.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bionicc.c... Compiling src/vidhrdw/1943_vidhrdw.c... In file included from src/vidhrdw/lwings_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/1943.c... Compiling src/vidhrdw/blktiger_vidhrdw.c... In file included from src/vidhrdw/sidearms_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/lwings.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/lwings.c:102:23: warning: unused function 'avengers_interrupt' [-Wunused-function] 102 | static INTERRUPT_GEN( avengers_interrupt ) | ^~~~~~~~~~~~~~~~~~ src/driver.h:21:35: note: expanded from macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ src/drivers/lwings.c:383:25: warning: unused variable 'adpcm_readport' [-Wunused-const-variable] 383 | static PORT_READ_START( adpcm_readport ) | ^~~~~~~~~~~~~~ src/memory.h:570:68: note: expanded from macro 'PORT_READ_START' 570 | #define PORT_READ_START(name) MEMPORT_ARRAY_START(IO_ReadPort, name, MEMPORT_DIRECTION_READ | MEMPORT_TYPE_IO | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 6 warnings generated. Compiling src/vidhrdw/tigeroad_vidhrdw.c... Compiling src/drivers/blktiger.c... Compiling src/drivers/tigeroad.c... In file included from src/vidhrdw/bionicc_vidhrdw.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sidearms.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/lastduel_vidhrdw.c... In file included from src/vidhrdw/1943_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lastduel.c... In file included from src/drivers/bionicc.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/blktiger_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sf1_vidhrdw.c... Compiling src/drivers/sf1.c... In file included from src/drivers/blktiger.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/1943.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/kabuki.c... In file included from src/vidhrdw/tigeroad_vidhrdw.c:1: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mitchell_vidhrdw.c... In file included from src/drivers/tigeroad.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/lastduel_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sf1_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mitchell.c... In file included from src/drivers/lastduel.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cbasebal_vidhrdw.c... In file included from src/drivers/sf1.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cbasebal.c... Compiling src/vidhrdw/cps1_vidhrdw.c... Compiling src/drivers/cps1.c... In file included from src/machine/kabuki.c:95: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cps2.c... In file included from src/vidhrdw/mitchell_vidhrdw.c:7: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/cps2crypt.c... Compiling src/drivers/zn.c... In file included from src/drivers/mitchell.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/mitchell.c:143:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 143 | return (input_port_0_r(0) & 0x76) | bit; | ^ src/drivers/mitchell.c:140:1: note: previous statement is here 140 | if (Machine->gamedrv == &driver_mgakuen2) /* hack... music doesn't work otherwise */ | ^ 5 warnings generated. In file included from src/vidhrdw/cbasebal_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tms34061_vidhrdw.c... Compiling src/machine/capbowl_machine.c... Compiling src/vidhrdw/capbowl_vidhrdw.c... In file included from src/drivers/cbasebal.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/capbowl.c... Compiling src/vidhrdw/itech8_vidhrdw.c... Compiling src/drivers/itech8.c... In file included from src/machine/cps2crypt.c:115: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/cps2crypt.c:747:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 747 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/itech32_vidhrdw.c... Compiling src/drivers/itech32.c... Compiling src/machine/slikshot.c... In file included from src/machine/capbowl_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/zn.c:119: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blockade_vidhrdw.c... In file included from src/vidhrdw/tms34061_vidhrdw.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/cps1_vidhrdw.c:179: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cps1_vidhrdw.c:483:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 483 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cps1_vidhrdw.c:489:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 489 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cps1_vidhrdw.c:765:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT64 *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] 765 | unshuffle((UINT64 *)(memory_region(REGION_GFX1) + i),banksize/8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cps1_vidhrdw.c:778:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 778 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cps1_vidhrdw.c:779:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 779 | data16_t *xor = (data16_t *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. In file included from src/drivers/cps1.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cps1.c:7804:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 7804 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cps1.c:3606:1: warning: unused variable 'input_ports_rockmanj' [-Wunused-const-variable] 3606 | INPUT_PORTS_START( rockmanj ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :288:1: note: expanded from here 288 | input_ports_rockmanj | ^~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/vidhrdw/capbowl_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/blockade.c... In file included from src/drivers/capbowl.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vicdual_vidhrdw.c... Compiling src/drivers/vicdual.c... Compiling src/sndhrdw/carnival.c... Compiling src/sndhrdw/depthch.c... Compiling src/sndhrdw/invinco.c... Compiling src/sndhrdw/pulsar.c... In file included from src/drivers/cps2.c:95: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/itech8.c:148: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/blockade_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/slikshot.c:70: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/segacrpt.c... In file included from src/vidhrdw/vicdual_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/segasnd.c... In file included from src/drivers/blockade.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/invinco.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/invinco.c:54:6: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] 54 | int bitsGoneHigh; | ^ 5 warnings generated. Compiling src/vidhrdw/sega_vidhrdw.c... In file included from src/drivers/itech32.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/itech32.c:306:21: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 306 | data32_t result = ((data32_t *)main_ram)[itech020_prot_address >> 2]; | ^~~~~~~~~~~~~~~~~~~~ src/drivers/itech32.c:200:24: warning: unused function 'trackball32_8bit_r' [-Wunused-function] 200 | static READ32_HANDLER( trackball32_8bit_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: expanded from macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/itech32.c:286:24: warning: unused function 'trackball32_4bit_combined_r' [-Wunused-function] 286 | static READ32_HANDLER( trackball32_4bit_combined_r ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: expanded from macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/itech32.c:546:24: warning: unused function 'input_port_5_msw_r' [-Wunused-function] 546 | static READ32_HANDLER( input_port_5_msw_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: expanded from macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ 8 warnings generated. In file included from src/sndhrdw/depthch.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/carnival.c:37: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/vicdual.c:72: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/sega_sndhrdw.c... In file included from src/vidhrdw/itech8_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/itech32_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/itech32_vidhrdw.c:445:72: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier] 445 | logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3 c=(%03x,%03x)-(%03x,%03x) s=%04x %04x %04x %04x %04x %04x", tag, | ~~^ src/vidhrdw/itech32_vidhrdw.c:454:51: warning: data argument not used by format string [-Wformat-extra-args] 445 | logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3 c=(%03x,%03x)-(%03x,%03x) s=%04x %04x %04x %04x %04x %04x", tag, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 446 | enable_latch[0], enable_latch[1], 447 | VIDEO_TRANSFER_FLAGS, 448 | color_latch[0] >> 8, color_latch[1] >> 8, 449 | VIDEO_TRANSFER_ADDRHI, VIDEO_TRANSFER_ADDRLO, 450 | VIDEO_TRANSFER_X, VIDEO_TRANSFER_Y, 451 | VIDEO_TRANSFER_WIDTH, ADJUSTED_HEIGHT(VIDEO_TRANSFER_HEIGHT), 452 | VIDEO_LEFTCLIP, VIDEO_TOPCLIP, VIDEO_RIGHTCLIP, VIDEO_BOTTOMCLIP, 453 | itech32_video[0x16/2], itech32_video[0x18/2], itech32_video[0x1a/2], 454 | itech32_video[0x1c/2], itech32_video[0x1e/2], itech32_video[0x20/2]); | ^ 6 warnings generated. In file included from src/sndhrdw/pulsar.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/pulsar.c:75:6: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] 75 | int bitsGoneHigh; | ^ 5 warnings generated. Compiling src/machine/sega_machine.c... Compiling src/drivers/sega.c... In file included from src/sndhrdw/segasnd.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/segacrpt.c:177: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/segar_vidhrdw.c... Compiling src/sndhrdw/segar_sndhrdw.c... In file included from src/vidhrdw/sega_vidhrdw.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/segar_machine.c... Compiling src/drivers/segar.c... In file included from src/sndhrdw/sega_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tms9928a.c... Compiling src/drivers/sg1000a.c... In file included from src/machine/sega_machine.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/zaxxon_vidhrdw.c... In file included from src/sndhrdw/segar_sndhrdw.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/segar_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segar_vidhrdw.c:412:6: warning: variable 'sprite_transparency' set but not used [-Wunused-but-set-variable] 412 | int sprite_transparency; | ^ 5 warnings generated. Compiling src/sndhrdw/zaxxon_sndhrdw.c... Compiling src/drivers/zaxxon.c... In file included from src/drivers/sega.c:135: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/sega.c:187:27: warning: unused variable 'speech_readmem' [-Wunused-const-variable] 187 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:559:77: note: expanded from macro 'MEMORY_READ_START' 559 | #define MEMORY_READ_START(name) MEMPORT_ARRAY_START(Memory_ReadAddress, name, MEMPORT_DIRECTION_READ | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/sega.c:192:28: warning: unused variable 'speech_writemem' [-Wunused-const-variable] 192 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:560:77: note: expanded from macro 'MEMORY_WRITE_START' 560 | #define MEMORY_WRITE_START(name) MEMPORT_ARRAY_START(Memory_WriteAddress, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 6 warnings generated. In file included from src/machine/segar_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/turbo_machine.c... In file included from src/drivers/segar.c:49: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segar.c:238:27: warning: unused variable 'speech_readmem' [-Wunused-const-variable] 238 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:559:77: note: expanded from macro 'MEMORY_READ_START' 559 | #define MEMORY_READ_START(name) MEMPORT_ARRAY_START(Memory_ReadAddress, name, MEMPORT_DIRECTION_READ | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/segar.c:243:28: warning: unused variable 'speech_writemem' [-Wunused-const-variable] 243 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:560:77: note: expanded from macro 'MEMORY_WRITE_START' 560 | #define MEMORY_WRITE_START(name) MEMPORT_ARRAY_START(Memory_WriteAddress, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 6 warnings generated. Compiling src/vidhrdw/turbo_vidhrdw.c... Compiling src/drivers/turbo.c... Compiling src/drivers/kopunch.c... In file included from src/drivers/sg1000a.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/tms9928a.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tms9928a.c:179:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 179 | void TMS9928A_reset () { | ^ | void src/vidhrdw/tms9928a.c:521:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 521 | int TMS9928A_interrupt () { | ^ | void 6 warnings generated. Compiling src/vidhrdw/kopunch_vidhrdw.c... In file included from src/sndhrdw/zaxxon_sndhrdw.c:69: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/zaxxon.c:157: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/zaxxon_vidhrdw.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suprloco_vidhrdw.c... Compiling src/drivers/suprloco.c... Compiling src/vidhrdw/dotrikun_vidhrdw.c... Compiling src/drivers/dotrikun.c... Compiling src/vidhrdw/angelkds_vidhrdw.c... Compiling src/drivers/angelkds.c... In file included from src/vidhrdw/turbo_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/turbo_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/system1_vidhrdw.c... Compiling src/drivers/system1.c... Compiling src/vidhrdw/segasyse_vidhrdw.c... In file included from src/vidhrdw/suprloco_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/system16_machine.c... In file included from src/drivers/turbo.c:147: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/segasyse.c... In file included from src/vidhrdw/angelkds_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/dotrikun_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/suprloco.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/kopunch.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/kopunch.c:77:22: warning: unused function 'pip_r' [-Wunused-function] 77 | static READ_HANDLER( pip_r ) | ^~~~~ src/memory.h:126:39: note: expanded from macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ 5 warnings generated. Compiling src/vidhrdw/system16_vidhrdw.c... In file included from src/drivers/dotrikun.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/kopunch_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/angelkds.c:127: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sys16spr.c... Compiling src/vidhrdw/segaic16.c... In file included from src/vidhrdw/segasyse_vidhrdw.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segasyse_vidhrdw.c:600:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 600 | UINT32 pix8 = *(UINT32 *)&segae_vdp_vram[chip][(32)*tile + (4)*line + (0x4000) * segae_vdp_vrambank[chip]]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segasyse_vidhrdw.c:631:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 631 | UINT32 pix8 = *(UINT32 *)&segae_vdp_vram[chip][(32)*tile + (4)*line + (0x4000) * segae_vdp_vrambank[chip]]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segasyse_vidhrdw.c:662:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 662 | UINT32 pix8 = *(UINT32 *)&segae_vdp_vram[chip][(((32)*tile + (4)*line)&0x3fff) + (0x4000) * segae_vdp_vrambank[chip]]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/vidhrdw/segas16b.c... Compiling src/vidhrdw/segaorun.c... In file included from src/machine/system16_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/system16_machine.c:16:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 16 | data16_t *mem = (data16_t *)memory_region(REGION_CPU1+cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/system16_machine.c:44:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 44 | const data16_t *pMem = (data16_t *)memory_region(REGION_CPU3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/vidhrdw/system1_vidhrdw.c:10: In file included from src/vidhrdw/system1.h:4: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system1_vidhrdw.c:158:19: warning: unused function 'get_sprite_bottom_y' [-Wunused-function] 158 | static INLINE int get_sprite_bottom_y(int spr_number) | ^~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/segas16b.c... In file included from src/drivers/segasyse.c:158: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/system1.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system1.c:1386:1: warning: unused variable 'input_ports_shtngmst' [-Wunused-const-variable] 1386 | INPUT_PORTS_START( shtngmst ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :196:1: note: expanded from here 196 | input_ports_shtngmst | ^~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/sndhrdw/system16_sndhrdw.c... Compiling src/drivers/system16.c... In file included from src/vidhrdw/sys16spr.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aburner.c... In file included from src/vidhrdw/segas16b.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/segaorun.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/outrun.c... Compiling src/drivers/sharrier.c... In file included from src/vidhrdw/system16_vidhrdw.c:92: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system16_vidhrdw.c:268:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 268 | spritedata = (UINT16 *)memory_region(REGION_GFX2) + 0x10000 * bank; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system16_vidhrdw.c:669:28: warning: variable 'rh' set but not used [-Wunused-but-set-variable] 669 | int r, g, b, rs, gs, bs, rh, gh, bh; | ^ src/vidhrdw/system16_vidhrdw.c:669:32: warning: variable 'gh' set but not used [-Wunused-but-set-variable] 669 | int r, g, b, rs, gs, bs, rh, gh, bh; | ^ src/vidhrdw/system16_vidhrdw.c:669:36: warning: variable 'bh' set but not used [-Wunused-but-set-variable] 669 | int r, g, b, rs, gs, bs, rh, gh, bh; | ^ 8 warnings generated. Compiling src/drivers/system18.c... In file included from src/sndhrdw/system16_sndhrdw.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/system24.c... Compiling src/machine/system24_machine.c... In file included from src/drivers/segas16b.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segas16b.c:316:21: warning: unused variable 'portname' [-Wunused-variable] 316 | static const char *portname[] = { "MJ0", "MJ1", "MJ2", "MJ3", "MJ4", "MJ5" }; | ^~~~~~~~ src/drivers/segas16b.c:341:15: warning: unused variable 'last_val' [-Wunused-variable] 341 | static UINT8 last_val; | ^~~~~~~~ src/drivers/segas16b.c:1433:8: warning: unused function 'construct_system16_7751' [-Wunused-function] 1433 | static MACHINE_DRIVER_START( system16_7751 ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~~~~~~~ :15:1: note: expanded from here 15 | construct_system16_7751 | ^~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. In file included from src/vidhrdw/segaic16.c:328: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segaic16.c:867:5: warning: variable 'effxscroll' is uninitialized when used here [-Wuninitialized] 867 | effxscroll += 17; | ^~~~~~~~~~ src/vidhrdw/segaic16.c:856:21: note: initialize the variable 'effxscroll' to silence this warning 856 | UINT16 effxscroll, effyscroll; | ^ | = 0 src/vidhrdw/segaic16.c:1225:3: warning: variable 'get_text_info' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 1225 | default: | ^~~~~~~ src/vidhrdw/segaic16.c:1230:33: note: uninitialized use occurs here 1230 | info->textmap = tilemap_create(get_text_info, tilemap_scan_rows, TILEMAP_TRANSPARENT, 8,8, 64,28); | ^~~~~~~~~~~~~ src/vidhrdw/segaic16.c:1164:28: note: initialize the variable 'get_text_info' to silence this warning 1164 | void (*get_text_info)(int); | ^ | = NULL src/vidhrdw/segaic16.c:1462:29: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT16 *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1462 | const UINT16 *spritebase = (const UINT16 *)memory_region(REGION_GFX2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segaic16.c:1626:29: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT32 *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 1626 | const UINT32 *spritebase = (const UINT32 *)memory_region(REGION_GFX2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segaic16.c:1796:29: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT16 *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1796 | const UINT16 *spritebase = (const UINT16 *)memory_region(REGION_GFX2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segaic16.c:1951:29: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT16 *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1951 | const UINT16 *spritebase = (const UINT16 *)memory_region(REGION_GFX2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segaic16.c:2128:29: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT32 *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2128 | const UINT32 *spritebase = (const UINT32 *)memory_region(REGION_GFX2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segaic16.c:2415:17: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 2415 | UINT32 *src = (UINT32 *)info->spriteram; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segaic16.c:2416:17: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 2416 | UINT32 *dst = (UINT32 *)info->buffer; | ^~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. Compiling src/vidhrdw/system24_vidhrdw.c... In file included from src/drivers/aburner.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/segaic24.c... In file included from src/drivers/outrun.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/outrun.c:979:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 979 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/outrun.c:1012:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1012 | RAM = (data16_t *)memory_region(REGION_CPU3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/outrun.c:1299:8: warning: unused function 'construct_toutrun_new' [-Wunused-function] 1299 | static MACHINE_DRIVER_START( toutrun_new ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~~~~~~~ :62:1: note: expanded from here 62 | construct_toutrun_new | ^~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/drivers/system32.c... In file included from src/drivers/system16.c:148: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system16.c:4909:39: warning: '/*' within block comment [-Wcomment] 4909 | /* { 0xc42000, 0xc42001, MRA16_NOP }, /* What is this? */ | ^ src/drivers/system16.c:512:8: warning: unused function 'construct_system16_7759' [-Wunused-function] 512 | static MACHINE_DRIVER_START( system16_7759 ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~~~~~~~ :171:1: note: expanded from here 171 | construct_system16_7759 | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system16.c:6658:8: warning: unused function 'init_s16dummy' [-Wunused-function] 6658 | static DRIVER_INIT( s16dummy ){ | ^~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~~~~~~~ :59:1: note: expanded from here 59 | init_s16dummy | ^~~~~~~~~~~~~ 7 warnings generated. In file included from src/machine/system24_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sharrier.c:27: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/sharrier.c:978:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 978 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/sharrier.c:994:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 994 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/sharrier.c:1012:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1012 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/sharrier.c:1519:16: warning: '/*' within block comment [-Wcomment] 1519 | /*PORT_START /* Y */ | ^ 8 warnings generated. Compiling src/vidhrdw/system32_vidhrdw.c... Compiling src/drivers/multi32.c... In file included from src/vidhrdw/system24_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/system18.c:64: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/segac2_vidhrdw.c... Compiling src/drivers/segac2.c... In file included from src/drivers/system24.c:91: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system24.c:452:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 452 | rom_base = (UINT16 *)(memory_region(REGION_USER1) + curbank * 0x40000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system24.c:511:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 511 | return ((UINT16 *)memory_region(REGION_CPU1))[offset]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/stv.c... Compiling src/drivers/stvhacks.c... Compiling src/machine/stvcd.c... In file included from src/drivers/system32.c:352: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system32.c:3275:10: warning: declaration shadows a variable in the global scope [-Wshadow] 3275 | data8_t val = cpu_readmem24lew(0x20EE81); | ^ src/drivers/system32.c:3271:5: note: previous declaration is here 3271 | int val; | ^ src/drivers/system32.c:3368:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3368 | data16_t *pROM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system32.c:490:23: warning: unused function 'system32_eeprom_r' [-Wunused-function] 490 | static READ16_HANDLER(system32_eeprom_r) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/system32.c:495:24: warning: unused function 'system32_eeprom_w' [-Wunused-function] 495 | static WRITE16_HANDLER(system32_eeprom_w) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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:693:23: warning: unused function 'sys32_read_ff' [-Wunused-function] 693 | static READ16_HANDLER(sys32_read_ff) | ^~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/system32.c:698:23: warning: unused function 'sys32_read_random' [-Wunused-function] 698 | static READ16_HANDLER(sys32_read_random) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/system32.c:938:25: warning: unused function 'jp_v60_write_cab' [-Wunused-function] 938 | static WRITE16_HANDLER( jp_v60_write_cab ) | ^~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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:1334:1: warning: unused variable 'input_ports_sys32_4p' [-Wunused-const-variable] 1334 | INPUT_PORTS_START( sys32_4p ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :172:1: note: expanded from here 172 | input_ports_sys32_4p | ^~~~~~~~~~~~~~~~~~~~ 12 warnings generated. Compiling src/machine/scudsp.c... Compiling src/vidhrdw/stvvdp2_vidhrdw.c... In file included from src/drivers/multi32.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/multi32.c:112:23: warning: unused function 'system32_eeprom_r' [-Wunused-function] 112 | static READ16_HANDLER(system32_eeprom_r) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/multi32.c:117:24: warning: unused function 'system32_eeprom_w' [-Wunused-function] 117 | static WRITE16_HANDLER(system32_eeprom_w) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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:127:23: warning: unused function 'sys32_read_ff' [-Wunused-function] 127 | static READ16_HANDLER(sys32_read_ff) | ^~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/multi32.c:132:23: warning: unused function 'sys32_read_random' [-Wunused-function] 132 | static READ16_HANDLER(sys32_read_random) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ 8 warnings generated. Compiling src/vidhrdw/stvvdp1_vidhrdw.c... In file included from src/vidhrdw/segac2_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segac2_vidhrdw.c:246:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 246 | vdp_cmdpart = 0; | ^ src/vidhrdw/segac2_vidhrdw.c:244:5: note: previous statement is here 244 | for (i = 0; i < 24; i++) | ^ src/vidhrdw/segac2_vidhrdw.c:1227:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 1227 | UINT32 *tp = (UINT32 *)&VDP_VRAM_BYTE((tile & 0x7ff) * 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segac2_vidhrdw.c:1317:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 1317 | UINT32 tile = *(UINT32 *)&VDP_VRAM_BYTE(patno * 32 + 4 * patline); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segac2_vidhrdw.c:1395:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 1395 | UINT32 tile = *(UINT32 *)&VDP_VRAM_BYTE(patno * 32 + 4 * patline); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. In file included from src/vidhrdw/segaic24.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/deniam_vidhrdw.c... In file included from src/vidhrdw/system32_vidhrdw.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:330:23: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 330 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:391:22: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 391 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:431:23: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 431 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:489:22: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 489 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:1627:8: warning: declaration shadows a local variable [-Wshadow] 1627 | int i; | ^ src/vidhrdw/system32_vidhrdw.c:1451:6: note: previous declaration is here 1451 | int i; | ^ 9 warnings generated. In file included from src/drivers/stvhacks.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/stvhacks.c:16:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 16 | data32_t *rom = (data32_t *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/stvhacks.c:311:24: warning: unused function 'dnmtdeka_speedup_r' [-Wunused-function] 311 | static READ32_HANDLER( dnmtdeka_speedup_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: expanded from macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ 6 warnings generated. Compiling src/drivers/deniam.c... Compiling src/machine/btime_machine.c... In file included from src/machine/stvcd.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/stvcd.c:456:13: warning: unused function 'iso_build_disc_bin' [-Wunused-function] 456 | static void iso_build_disc_bin(void){ | ^~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/btime_vidhrdw.c... In file included from src/drivers/segac2.c:138: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segac2.c:1068:2: warning: '/*' within block comment [-Wcomment] 1068 | /* after end sequence */ | ^ src/drivers/segac2.c:5866:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 5866 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segac2.c:6112:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 6112 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segac2.c:6127:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 6127 | UINT16 *src = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segac2.c:1252:26: warning: unused function 'genesis_68k_to_z80_w' [-Wunused-function] 1252 | static WRITE16_HANDLER ( genesis_68k_to_z80_w ) | ^~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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:2108:26: warning: unused function 'genesis_z80_ram_w' [-Wunused-function] 2108 | static WRITE16_HANDLER ( genesis_z80_ram_w ) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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:2160:23: warning: unused function 'megatech_instr_w' [-Wunused-function] 2160 | static WRITE_HANDLER( megatech_instr_w ) | ^~~~~~~~~~~~~~~~ src/memory.h:127:39: note: expanded from macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^~~~ src/drivers/segac2.c:3707:1: warning: unused variable 'input_ports_genesis' [-Wunused-const-variable] 3707 | INPUT_PORTS_START( genesis ) /* Genesis Input Ports */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~~~~~~~ :230:1: note: expanded from here 230 | input_ports_genesis | ^~~~~~~~~~~~~~~~~~~ 12 warnings generated. Compiling src/drivers/btime.c... In file included from src/vidhrdw/stvvdp1_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/decocass_machine.c... In file included from src/drivers/stv.c:94: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/stv.c:1455:32: warning: passing 'char[3048]' to parameter of type 'UINT8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1455 | cdb_inject_file_info(fid, cdb_sat_file_info); | ^~~~~~~~~~~~~~~~~ src/machine/stvcd.h:7:47: note: passing argument to parameter 'dst' here 7 | void cdb_inject_file_info(UINT32 fid, UINT8 * dst); | ^ src/drivers/stv.c:1830:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1830 | static void system_reset() | ^ | void src/drivers/stv.c:1850:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1850 | if ((offset == 0x61)) /* ?? many games need this or the controls don't work*/ | ~~~~~~~^~~~~~~ src/drivers/stv.c:1850:14: note: remove extraneous parentheses around the comparison to silence this warning 1850 | if ((offset == 0x61)) /* ?? many games need this or the controls don't work*/ | ~ ^ ~ src/drivers/stv.c:1850:14: note: use '=' to turn this equality comparison into an assignment 1850 | if ((offset == 0x61)) /* ?? many games need this or the controls don't work*/ | ^~ | = src/drivers/stv.c:2702:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2702 | static void dma_direct_lv0() | ^ | void src/drivers/stv.c:2737:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2737 | static void dma_direct_lv1() | ^ | void src/drivers/stv.c:2772:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2772 | static void dma_direct_lv2() | ^ | void src/drivers/stv.c:2807:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2807 | static void dma_indirect_lv0() | ^ | void src/drivers/stv.c:2868:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2868 | static void dma_indirect_lv1() | ^ | void src/drivers/stv.c:2930:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2930 | static void dma_indirect_lv2() | ^ | void src/drivers/stv.c:4532:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4532 | data32_t *rom = (data32_t *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/stv.c:4544:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 4544 | data32_t *rom = (data32_t *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. In file included from src/machine/scudsp.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/scudsp.c:308:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 308 | UINT32 dsp_ram_addr_r() | ^ | void src/machine/scudsp.c:728:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 728 | void dsp_execute_program() | ^ | void 6 warnings generated. Compiling src/vidhrdw/decocass_vidhrdw.c... In file included from src/vidhrdw/stvvdp2_vidhrdw.c:56: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/stvvdp2_vidhrdw.c:1763:20: warning: variable 'plsize_dwords' set but not used [-Wunused-but-set-variable] 1763 | int plsize_bytes, plsize_dwords; | ^ src/vidhrdw/stvvdp2_vidhrdw.c:1768:20: warning: variable 'mpsize_dwords' set but not used [-Wunused-but-set-variable] 1768 | int mpsize_bytes, mpsize_dwords; | ^ src/vidhrdw/stvvdp2_vidhrdw.c:2603:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2603 | static void stv_vdp2_dynamic_res_change() | ^ | void 7 warnings generated. In file included from src/drivers/deniam.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/decocass.c... In file included from src/vidhrdw/deniam_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/btime_machine.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/astrof_vidhrdw.c... Compiling src/sndhrdw/astrof_sndhrdw.c... Compiling src/drivers/astrof.c... Compiling src/vidhrdw/liberate_vidhrdw.c... In file included from src/vidhrdw/btime_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/liberate.c... In file included from src/drivers/btime.c:49: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bwing_vidhrdw.c... Compiling src/drivers/bwing.c... In file included from src/vidhrdw/astrof_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/decocass_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/astrof_sndhrdw.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/decocass.c:55: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kchamp_vidhrdw.c... Compiling src/drivers/kchamp.c... Compiling src/vidhrdw/firetrap_vidhrdw.c... In file included from src/machine/decocass_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/decocass_machine.c:982:17: warning: variable 'latch1' set but not used [-Wunused-but-set-variable] 982 | static data8_t latch1; | ^ 5 warnings generated. Compiling src/drivers/firetrap.c... In file included from src/drivers/bwing.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/astrof.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/liberate_vidhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/liberate_vidhrdw.c:385:17: warning: variable 'color' set but not used [-Wunused-but-set-variable] 385 | int mx,my,tile,color,offs; | ^ 5 warnings generated. Compiling src/vidhrdw/brkthru_vidhrdw.c... Compiling src/drivers/brkthru.c... In file included from src/drivers/liberate.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/metlclsh_vidhrdw.c... Compiling src/drivers/metlclsh.c... In file included from src/vidhrdw/bwing_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/compgolf_vidhrdw.c... In file included from src/vidhrdw/kchamp_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/firetrap_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/kchamp.c:64: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tryout_vidhrdw.c... Compiling src/drivers/compgolf.c... In file included from src/vidhrdw/brkthru_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/firetrap.c:59: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/brkthru.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tryout.c... Compiling src/vidhrdw/shootout_vidhrdw.c... In file included from src/drivers/metlclsh.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/compgolf_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/metlclsh_vidhrdw.c:21: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shootout.c... Compiling src/vidhrdw/sidepckt_vidhrdw.c... In file included from src/drivers/compgolf.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sidepckt.c... In file included from src/vidhrdw/tryout_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exprraid.c... Compiling src/vidhrdw/exprraid_vidhrdw.c... Compiling src/drivers/pcktgal.c... In file included from src/vidhrdw/shootout_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pcktgal_vidhrdw.c... Compiling src/vidhrdw/battlera_vidhrdw.c... In file included from src/drivers/tryout.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/battlera.c... In file included from src/drivers/shootout.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sidepckt.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/exprraid_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/exprraid.c:63: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sidepckt_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/actfancr_vidhrdw.c... Compiling src/drivers/actfancr.c... In file included from src/drivers/pcktgal.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dec8.c... Compiling src/vidhrdw/dec8_vidhrdw.c... In file included from src/drivers/battlera.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/karnov.c... Compiling src/vidhrdw/karnov_vidhrdw.c... In file included from src/vidhrdw/battlera_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/actfancr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/pcktgal_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/decocrpt.c... Compiling src/machine/decoprot.c... In file included from src/drivers/actfancr.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/deco16ic.c... Compiling src/machine/dec0_machine.c... Compiling src/vidhrdw/dec0_vidhrdw.c... In file included from src/drivers/dec8.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dec0.c... Compiling src/vidhrdw/stadhero_vidhrdw.c... Compiling src/drivers/stadhero.c... In file included from src/vidhrdw/karnov_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/madmotor_vidhrdw.c... Compiling src/drivers/madmotor.c... In file included from src/vidhrdw/dec8_vidhrdw.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vaportra_vidhrdw.c... In file included from src/drivers/karnov.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/karnov.c:1031:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1031 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/karnov.c:1041:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1041 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/karnov.c:1051:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1051 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/drivers/vaportra.c... Compiling src/drivers/cbuster.c... Compiling src/vidhrdw/darkseal_vidhrdw.c... In file included from src/vidhrdw/deco16ic.c:142: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/darkseal.c... In file included from src/machine/decocrpt.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/decocrpt.c:603:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 603 | data16_t *rom = (data16_t *)memory_region(mem_region); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/decocrpt.c:788:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 788 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/decocrpt.c:831:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 831 | UINT32 *rom = (UINT32 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. In file included from src/drivers/stadhero.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cbuster_vidhrdw.c... In file included from src/vidhrdw/stadhero_vidhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/madmotor.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/supbtime_vidhrdw.c... In file included from src/machine/dec0_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/dec0_machine.c:585:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 585 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/dec0_machine.c:594:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 594 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/dec0_machine.c:461:13: warning: unused function 'i8751_callback' [-Wunused-function] 461 | static void i8751_callback(int param) | ^~~~~~~~~~~~~~ 7 warnings generated. In file included from src/drivers/dec0.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/decoprot.c:73: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cninja_vidhrdw.c... In file included from src/drivers/cbuster.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/darkseal_vidhrdw.c:88: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/supbtime.c... Compiling src/drivers/cninja.c... In file included from src/vidhrdw/madmotor_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/dec0_vidhrdw.c:101: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/vaportra.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/vaportra_vidhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dassault.c... Compiling src/vidhrdw/dassault_vidhrdw.c... Compiling src/drivers/rohga.c... Compiling src/vidhrdw/rohga_vidhrdw.c... Compiling src/vidhrdw/tumblep_vidhrdw.c... In file included from src/vidhrdw/cbuster_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/supbtime_vidhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/darkseal.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tumblep.c... In file included from src/vidhrdw/cninja_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/lemmings_vidhrdw.c... In file included from src/vidhrdw/dassault_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/cninja.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cninja.c:1686:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1686 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/supbtime.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lemmings.c... Compiling src/vidhrdw/funkyjet_vidhrdw.c... Compiling src/drivers/funkyjet.c... In file included from src/drivers/dassault.c:121: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/rohga.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/deco32_vidhrdw.c... In file included from src/vidhrdw/lemmings_vidhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/lemmings_vidhrdw.c:157:16: warning: variable 'old' set but not used [-Wunused-but-set-variable] 157 | int sx,sy,src,old,tile; | ^ 5 warnings generated. Compiling src/vidhrdw/deco_mlc_vidhrdw.c... Compiling src/drivers/deco_mlc.c... Compiling src/drivers/deco32.c... In file included from src/drivers/tumblep.c:121: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:1515:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1515 | UINT16 *PROTDATA = (UINT16*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:1794:56: warning: '/*' within block comment [-Wcomment] 1794 | /* ROM_LOAD( "87c52.mcu", 0x00000, 0x10000 , NO_DUMP ) /* can't be dumped */ | ^ src/drivers/tumblep.c:2053:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2053 | UINT16 *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:2123:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2123 | UINT16 *src = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:2152:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2152 | UINT16 *PROTDATA = (UINT16*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:2415:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2415 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:2436:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2436 | UINT16 *rom = (UINT16 *)memory_region(REGION_GFX1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:184:25: warning: unused function 'jumppop_sound_w' [-Wunused-function] 184 | static WRITE16_HANDLER( jumppop_sound_w ) | ^~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/tumblep.c:1283:29: warning: unused variable 'jumppop_gfxdecodeinfo' [-Wunused-variable] 1283 | static struct GfxDecodeInfo jumppop_gfxdecodeinfo[] = | ^~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. In file included from src/vidhrdw/tumblep_vidhrdw.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/rohga_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/funkyjet.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sshangha_vidhrdw.c... Compiling src/drivers/sshangha.c... Compiling src/sndhrdw/senjyo_sndhrdw.c... In file included from src/vidhrdw/funkyjet_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/senjyo_vidhrdw.c... In file included from src/drivers/deco_mlc.c:92: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sshangha_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/lemmings.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/senjyo.c... Compiling src/vidhrdw/bombjack_vidhrdw.c... In file included from src/drivers/sshangha.c:54: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bombjack.c... In file included from src/vidhrdw/deco_mlc_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/deco_mlc_vidhrdw.c:55:86: warning: declaration shadows a variable in the global scope [-Wshadow] 55 | struct mame_bitmap *dest_bmp,const struct rectangle *clip,const struct GfxElement *gfx, | ^ src/vidhrdw/deco_mlc_vidhrdw.c:18:15: note: previous declaration is here 18 | static UINT8 *gfx; | ^ src/vidhrdw/deco_mlc_vidhrdw.c:266:17: warning: variable 'x_index' set but not used [-Wunused-but-set-variable] 266 | int x, x_index = x_index_base; | ^ src/vidhrdw/deco_mlc_vidhrdw.c:307:17: warning: variable 'x_index' set but not used [-Wunused-but-set-variable] 307 | int x, x_index = x_index_base; | ^ src/vidhrdw/deco_mlc_vidhrdw.c:349:6: warning: variable 'xmult' set but not used [-Wunused-but-set-variable] 349 | int xmult,ymult,xoffs,yoffs; | ^ src/vidhrdw/deco_mlc_vidhrdw.c:349:12: warning: variable 'ymult' set but not used [-Wunused-but-set-variable] 349 | int xmult,ymult,xoffs,yoffs; | ^ 9 warnings generated. In file included from src/sndhrdw/senjyo_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pbaction_vidhrdw.c... In file included from src/drivers/deco32.c:104: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/deco32.c:3122:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3122 | data32_t *ROM = (UINT32 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/senjyo_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pbaction.c... In file included from src/drivers/bombjack.c:69: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/senjyo.c:68: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tehkanwc_vidhrdw.c... In file included from src/drivers/pbaction.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tehkanwc.c... In file included from src/vidhrdw/pbaction_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/bombjack_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/deco32_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/deco32_vidhrdw.c:1236:12: warning: variable 'sx0' set but not used [-Wunused-but-set-variable] 1236 | int ptr=0,sx0,sy0,sx1,sy1,start,end=0; | ^ src/vidhrdw/deco32_vidhrdw.c:1236:16: warning: variable 'sy0' set but not used [-Wunused-but-set-variable] 1236 | int ptr=0,sx0,sy0,sx1,sy1,start,end=0; | ^ 6 warnings generated. Compiling src/vidhrdw/solomon_vidhrdw.c... Compiling src/drivers/solomon.c... Compiling src/vidhrdw/tecmo_vidhrdw.c... Compiling src/drivers/tecmo.c... Compiling src/vidhrdw/tbowl_vidhrdw.c... In file included from src/drivers/tehkanwc.c:81: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/tehkanwc_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tbowl.c... Compiling src/vidhrdw/gaiden_vidhrdw.c... In file included from src/vidhrdw/solomon_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gaiden.c... Compiling src/vidhrdw/wc90_vidhrdw.c... In file included from src/vidhrdw/tecmo_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/solomon.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tecmo.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wc90.c... Compiling src/vidhrdw/wc90b_vidhrdw.c... In file included from src/drivers/tbowl.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/tbowl_vidhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wc90b.c... Compiling src/vidhrdw/spbactn_vidhrdw.c... In file included from src/drivers/wc90.c:54: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spbactn.c... In file included from src/drivers/gaiden.c:127: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tecmo16.c... Compiling src/vidhrdw/tecmo16_vidhrdw.c... In file included from src/drivers/wc90b.c:73: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gaiden_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/scramble_machine.c... Compiling src/sndhrdw/scramble_sndhrdw.c... Compiling src/drivers/scramble.c... In file included from src/vidhrdw/spbactn_vidhrdw.c:4: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tecmosys.c... Compiling src/drivers/frogger.c... In file included from src/vidhrdw/wc90b_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/wc90_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/scobra.c... In file included from src/drivers/spbactn.c:128: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/amidar.c... In file included from src/vidhrdw/tecmo16_vidhrdw.c:7: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fastfred_vidhrdw.c... In file included from src/drivers/tecmo16.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fastfred.c... In file included from src/sndhrdw/scramble_sndhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/frogger.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tutankhm_vidhrdw.c... Compiling src/drivers/tutankhm.c... Compiling src/drivers/junofrst.c... In file included from src/machine/scramble_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/scramble_machine.c:1385:18: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 1385 | if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; | ^ ~ src/machine/scramble_machine.c:1385:18: note: add parentheses after the '!' to evaluate the bitwise operator first 1385 | if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; | ^ | ( ) src/machine/scramble_machine.c:1385:18: note: add parentheses around left hand side expression to silence this warning 1385 | if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; | ^ | ( ) src/machine/scramble_machine.c:1386:18: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 1386 | if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; | ^ ~ src/machine/scramble_machine.c:1386:18: note: add parentheses after the '!' to evaluate the bitwise operator first 1386 | if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; | ^ | ( ) src/machine/scramble_machine.c:1386:18: note: add parentheses around left hand side expression to silence this warning 1386 | if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; | ^ | ( ) src/machine/scramble_machine.c:1389:18: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 1389 | if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; | ^ ~ src/machine/scramble_machine.c:1389:18: note: add parentheses after the '!' to evaluate the bitwise operator first 1389 | if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; | ^ | ( ) src/machine/scramble_machine.c:1389:18: note: add parentheses around left hand side expression to silence this warning 1389 | if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; | ^ | ( ) 7 warnings generated. In file included from src/drivers/scobra.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/scramble.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pooyan_vidhrdw.c... Compiling src/drivers/pooyan.c... In file included from src/drivers/amidar.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tecmosys.c:184: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tecmosys.c:579:28: warning: expression result unused [-Wunused-value] 579 | tecmosys_880000regs[offset]; | ~~~~~~~~~~~~~~~~~~~ ~~~~~~^ src/drivers/tecmosys.c:589:30: warning: expression result unused [-Wunused-value] 589 | tecmosys_880000regs[offset]; | ~~~~~~~~~~~~~~~~~~~ ~~~~~~^ src/drivers/tecmosys.c:683:37: warning: '/*' within block comment [-Wcomment] 683 | { 0x980000, 0x9807ff, MWA16_RAM }, /* bg pal */ | ^ src/drivers/tecmosys.c:685:79: warning: '/*' within block comment [-Wcomment] 685 | { 0x980800, 0x980fff, paletteram16_xGGGGGRRRRRBBBBB_word_w, &paletteram16 }, /* fix pal */ | ^ 8 warnings generated. In file included from src/vidhrdw/fastfred_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/timeplt_vidhrdw.c... In file included from src/drivers/tutankhm.c:180: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/timeplt.c... In file included from src/drivers/junofrst.c:80: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/fastfred.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/fastfred.c:695:4: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] 695 | { NULL, 0xb800, &imago_spritelayout, 0, 32 }, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ 5 warnings generated. Compiling src/sndhrdw/timeplt_sndhrdw.c... In file included from src/vidhrdw/tutankhm_vidhrdw.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tutankhm_vidhrdw.c:143:17: warning: variable 'destflag' set but not used [-Wunused-but-set-variable] 143 | unsigned char destflag; | ^ 5 warnings generated. Compiling src/vidhrdw/megazone_vidhrdw.c... Compiling src/drivers/megazone.c... In file included from src/vidhrdw/pooyan_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pandoras_vidhrdw.c... In file included from src/drivers/pooyan.c:65: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/timeplt_sndhrdw.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/timeplt_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pandoras.c... Compiling src/sndhrdw/gyruss_sndhrdw.c... In file included from src/drivers/timeplt.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/pandoras_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/megazone_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gyruss_vidhrdw.c... Compiling src/drivers/gyruss.c... In file included from src/drivers/megazone.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/gyruss_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/konami_machine.c... Compiling src/vidhrdw/trackfld_vidhrdw.c... In file included from src/drivers/pandoras.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/trackfld_sndhrdw.c... Compiling src/drivers/trackfld.c... Compiling src/vidhrdw/rocnrope_vidhrdw.c... Compiling src/drivers/rocnrope.c... In file included from src/machine/konami_machine.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gyruss_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gyruss.c:58: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/circusc.c... Compiling src/vidhrdw/circusc_vidhrdw.c... Compiling src/vidhrdw/tp84_vidhrdw.c... Compiling src/drivers/tp84.c... In file included from src/sndhrdw/trackfld_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/trackfld_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/hyperspt_vidhrdw.c... In file included from src/drivers/trackfld.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hyperspt.c... In file included from src/vidhrdw/rocnrope_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sbasketb_vidhrdw.c... In file included from src/vidhrdw/tp84_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tp84.c:84: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/circusc_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/circusc.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sbasketb.c... Compiling src/vidhrdw/mikie_vidhrdw.c... In file included from src/drivers/rocnrope.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mikie.c... In file included from src/vidhrdw/hyperspt_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/yiear_vidhrdw.c... Compiling src/drivers/yiear.c... Compiling src/drivers/shaolins.c... Compiling src/vidhrdw/shaolins_vidhrdw.c... In file included from src/drivers/hyperspt.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sbasketb.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mikie.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pingpong_vidhrdw.c... In file included from src/vidhrdw/sbasketb_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gberet_vidhrdw.c... Compiling src/drivers/pingpong.c... Compiling src/drivers/gberet.c... In file included from src/vidhrdw/yiear_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/yiear.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jailbrek_vidhrdw.c... In file included from src/vidhrdw/mikie_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jailbrek.c... In file included from src/vidhrdw/shaolins_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/shaolins.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pingpong.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/finalizr_vidhrdw.c... In file included from src/vidhrdw/pingpong_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/finalizr.c... In file included from src/vidhrdw/gberet_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ironhors.c... Compiling src/machine/jackal_machine.c... In file included from src/drivers/jailbrek.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ironhors_vidhrdw.c... In file included from src/drivers/gberet.c:63: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jackal_vidhrdw.c... Compiling src/drivers/jackal.c... In file included from src/vidhrdw/jailbrek_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/finalizr_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ddrible_vidhrdw.c... In file included from src/machine/jackal_machine.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ddrible.c... In file included from src/drivers/finalizr.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/contra_vidhrdw.c... Compiling src/vidhrdw/combatsc_vidhrdw.c... In file included from src/vidhrdw/ironhors_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/contra.c... In file included from src/drivers/ironhors.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/combatsc.c... Compiling src/drivers/hcastle.c... Compiling src/vidhrdw/nemesis_vidhrdw.c... Compiling src/vidhrdw/hcastle_vidhrdw.c... Compiling src/drivers/nemesis.c... In file included from src/drivers/jackal.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/contra_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/konamiic.c... In file included from src/vidhrdw/jackal_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/combatsc.c:120: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rockrage_vidhrdw.c... Compiling src/drivers/rockrage.c... In file included from src/drivers/hcastle.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/combatsc_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/flkatck.c... Compiling src/vidhrdw/fastlane_vidhrdw.c... In file included from src/vidhrdw/ddrible_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/labyrunr_vidhrdw.c... Compiling src/drivers/fastlane.c... Compiling src/vidhrdw/flkatck_vidhrdw.c... In file included from src/drivers/ddrible.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/labyrunr.c... In file included from src/vidhrdw/hcastle_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/flkatck.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/rockrage.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/rockrage_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/contra.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/battlnts_vidhrdw.c... In file included from src/vidhrdw/fastlane_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/battlnts.c... Compiling src/vidhrdw/bladestl_vidhrdw.c... In file included from src/vidhrdw/nemesis_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/nemesis.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/labyrunr_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/fastlane.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bladestl.c... Compiling src/machine/ajax_machine.c... In file included from src/vidhrdw/battlnts_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/labyrunr.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ajax_vidhrdw.c... In file included from src/drivers/battlnts.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/flkatck_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/bladestl_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ajax.c... Compiling src/vidhrdw/thunderx_vidhrdw.c... Compiling src/drivers/thunderx.c... In file included from src/machine/ajax_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/bladestl.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mainevt_vidhrdw.c... Compiling src/drivers/mainevt.c... In file included from src/vidhrdw/ajax_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/88games_vidhrdw.c... Compiling src/drivers/88games.c... In file included from src/drivers/ajax.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/thunderx_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gbusters_vidhrdw.c... In file included from src/drivers/mainevt.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gbusters.c... Compiling src/vidhrdw/crimfght_vidhrdw.c... Compiling src/drivers/crimfght.c... In file included from src/vidhrdw/88games_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/thunderx.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mainevt_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/spy_vidhrdw.c... In file included from src/vidhrdw/konamiic.c:1153: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:1188:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1188 | shuffle((UINT16 *)memory_region(mem_region),memory_region_length(mem_region)/2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:1196:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1196 | shuffle((UINT16 *)rgn,memory_region_length(mem_region)/4); | ^~~~~~~~~~~~~ src/vidhrdw/konamiic.c:1197:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1197 | shuffle((UINT16 *)(rgn+memory_region_length(mem_region)/2),memory_region_length(mem_region)/4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:2078:3: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 2078 | addr = (code << 5) + (offset & 0x1f); | ^ src/vidhrdw/konamiic.c:2075:1: note: previous statement is here 2075 | else | ^ src/vidhrdw/konamiic.c:3837:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3837 | K055673_rom = (data16_t *)memory_region(gfx_memory_region); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:3844:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3844 | K055673_rom = (data16_t *)memory_region(gfx_memory_region); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:3851:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3851 | K055673_rom = (data16_t *)memory_region(gfx_memory_region); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:3972:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3972 | data16_t *ROM = (data16_t *)memory_region(K053247_memory_region); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:4015:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 4015 | data16_t *ROM = (data16_t *)memory_region(K053247_memory_region); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:6840:13: warning: variable 'src_pitch' set but not used [-Wunused-but-set-variable] 6840 | int count, src_pitch, src_modulo; | ^ src/vidhrdw/konamiic.c:6840:24: warning: variable 'src_modulo' set but not used [-Wunused-but-set-variable] 6840 | int count, src_pitch, src_modulo; | ^ src/vidhrdw/konamiic.c:6843:26: warning: variable 'code_opaque' set but not used [-Wunused-but-set-variable] 6843 | UINT8 code_transparent, code_opaque; | ^ 16 warnings generated. In file included from src/vidhrdw/gbusters_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/88games.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spy.c... Compiling src/vidhrdw/bottom9_vidhrdw.c... In file included from src/drivers/gbusters.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bottom9.c... In file included from src/vidhrdw/crimfght_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blockhl_vidhrdw.c... Compiling src/drivers/blockhl.c... Compiling src/vidhrdw/aliens_vidhrdw.c... In file included from src/drivers/crimfght.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/spy.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aliens.c... In file included from src/vidhrdw/spy_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/surpratk_vidhrdw.c... In file included from src/vidhrdw/blockhl_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/bottom9.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/bottom9_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/surpratk.c... In file included from src/vidhrdw/aliens_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/parodius_vidhrdw.c... In file included from src/drivers/blockhl.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/aliens.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/parodius.c... Compiling src/vidhrdw/rollerg_vidhrdw.c... Compiling src/drivers/rollerg.c... In file included from src/vidhrdw/surpratk_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xexex_vidhrdw.c... Compiling src/drivers/xexex.c... Compiling src/drivers/asterix.c... Compiling src/vidhrdw/asterix_vidhrdw.c... In file included from src/drivers/surpratk.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/parodius.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/parodius_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gijoe_vidhrdw.c... Compiling src/drivers/gijoe.c... In file included from src/vidhrdw/rollerg_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/rollerg.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/asterix.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/xexex_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/simpsons_machine.c... In file included from src/vidhrdw/asterix_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/simpsons_vidhrdw.c... Compiling src/drivers/simpsons.c... In file included from src/drivers/xexex.c:64: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vendetta_vidhrdw.c... Compiling src/drivers/vendetta.c... In file included from src/drivers/gijoe.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gijoe_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/gijoe_vidhrdw.c:82:40: warning: variable 'primode' set but not used [-Wunused-but-set-variable] 82 | int vrc_mode, vrc_new, colorbase_new, primode, dirty, i; | ^ 5 warnings generated. Compiling src/vidhrdw/wecleman_vidhrdw.c... Compiling src/drivers/wecleman.c... In file included from src/machine/simpsons_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/simpsons_machine.c:212:16: warning: cast from 'unsigned char *' to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 212 | spriteram16 = (data16_t *)&RAM[0x8a000]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/vendetta_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/simpsons.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/chqflag_vidhrdw.c... In file included from src/vidhrdw/simpsons_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ultraman_vidhrdw.c... Compiling src/drivers/ultraman.c... Compiling src/drivers/chqflag.c... Compiling src/vidhrdw/hexion_vidhrdw.c... In file included from src/drivers/wecleman.c:272: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/chqflag.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/vendetta.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hexion.c... Compiling src/vidhrdw/twin16_vidhrdw.c... Compiling src/drivers/twin16.c... In file included from src/drivers/hexion.c:81: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ultraman_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tmnt_vidhrdw.c... Compiling src/drivers/tmnt.c... In file included from src/drivers/ultraman.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/chqflag_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/hexion_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xmen_vidhrdw.c... Compiling src/vidhrdw/overdriv_vidhrdw.c... Compiling src/drivers/overdriv.c... Compiling src/drivers/xmen.c... Compiling src/vidhrdw/gradius3_vidhrdw.c... Compiling src/drivers/gradius3.c... In file included from src/vidhrdw/wecleman_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:290:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 290 | dst_end = (UINT16 *)(screen_baseaddr + screen_line_offset * y2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:306:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 306 | dst_ptr = (UINT16 *)(screen_baseaddr + screen_line_offset * y1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:321:11: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] 321 | ebx += (int)src_base; | ^~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:328:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 328 | eax = *((char *)ebx + eax); | ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:352:11: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] 352 | ebx += (int)src_base; | ^~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:359:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 359 | eax = *((char *)ebx + eax); | ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:389:11: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] 389 | ebx += (int)src_base; | ^~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:396:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 396 | eax = *((char *)ebx + eax); | ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:676:12: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 676 | dw_ptr = (UINT32*)dst_line[sy+BMP_PAD]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:733:13: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 733 | dw_end = (UINT32*)dst_base; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:734:13: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 734 | dw_ptr = (UINT32*)dst_base; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:752:13: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 752 | dw_ptr = (UINT32*)dst_base; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:753:13: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 753 | dw_end = (UINT32*)dst_base; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:810:6: 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:810:35: 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:1156:26: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1156 | rgb_half = (UINT16*)(buffer + 0x00000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:1157:29: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] 1157 | t32x32pm = (int*)(buffer + 0x10020); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:1158:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'struct sprite **' increases required alignment from 1 to 8 [-Wcast-align] 1158 | spr_ptr_list = (struct sprite **)(buffer + 0x12000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:1159:28: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] 1159 | spr_idx_list = (int *)(buffer + 0x12400); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:1160:28: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] 1160 | spr_pri_list = (int *)(buffer + 0x12800); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:1260:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'struct sprite **' increases required alignment from 1 to 8 [-Wcast-align] 1260 | spr_ptr_list = (struct sprite **)buffer; | ^~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. Compiling src/vidhrdw/moo_vidhrdw.c... Compiling src/drivers/moo.c... In file included from src/vidhrdw/twin16_vidhrdw.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/twin16_vidhrdw.c:214:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] 214 | int count = 0; | ^ 5 warnings generated. In file included from src/vidhrdw/moo_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/moo_vidhrdw.c:106:6: warning: variable 'bg_colorbase' set but not used [-Wunused-but-set-variable] 106 | int bg_colorbase, new_colorbase, plane, dirty, alpha; | ^ 5 warnings generated. Compiling src/vidhrdw/mystwarr_vidhrdw.c... Compiling src/vidhrdw/rungun_vidhrdw.c... Compiling src/drivers/mystwarr.c... In file included from src/vidhrdw/gradius3_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tmnt.c:66: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tmnt.c:338:9: warning: cast from 'signed char *' to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 338 | dest = (signed short *)samples->sample[0]->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/twin16.c:55: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/twin16.c:122:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 122 | return ((UINT16 *)memory_region(REGION_GFX3))[offset]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/twin16.c:1458:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1458 | twin16_gfx_rom = (UINT16 *)memory_region(REGION_GFX2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/drivers/moo.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/moo.c:869:50: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 869 | state_save_register_INT32("Moo", 0, "control2", (INT32 *)&cur_control2, 1); | ^~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/xmen_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rungun.c... In file included from src/drivers/overdriv.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dbz2_vidhrdw.c... In file included from src/vidhrdw/tmnt_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/overdriv_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gradius3.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bishi_vidhrdw.c... Compiling src/drivers/dbz2.c... In file included from src/drivers/xmen.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mystwarr.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/mystwarr.c:1380:9: warning: 'ROM_LOAD64_WORD' macro redefined [-Wmacro-redefined] 1380 | #define ROM_LOAD64_WORD(name,offset,length,crc) ROMX_LOAD(name, offset, length, crc, ROM_GROUPWORD | ROM_SKIP(6)) | ^ src/common.h:363:9: note: previous definition is here 363 | #define ROM_LOAD64_WORD(name,offset,length,hash) ROMX_LOAD(name, offset, length, hash, ROM_GROUPWORD | ROM_SKIP(6)) | ^ src/drivers/mystwarr.c:823:22: warning: unused function 'audio_interrupt' [-Wunused-function] 823 | static INTERRUPT_GEN(audio_interrupt) | ^~~~~~~~~~~~~~~ src/driver.h:21:35: note: expanded from macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ 6 warnings generated. Compiling src/drivers/bishi.c... Compiling src/vidhrdw/lethal_vidhrdw.c... In file included from src/vidhrdw/rungun_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mystwarr_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lethal.c... In file included from src/vidhrdw/dbz2_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/konamigx_machine.c... In file included from src/vidhrdw/bishi_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/konamigx_vidhrdw.c... In file included from src/drivers/rungun.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/rungun.c:456:9: warning: 'ROM_LOAD64_WORD' macro redefined [-Wmacro-redefined] 456 | #define ROM_LOAD64_WORD(name,offset,length,crc) ROMX_LOAD(name, offset, length, crc, ROM_GROUPWORD | ROM_SKIP(6)) | ^ src/common.h:363:9: note: previous definition is here 363 | #define ROM_LOAD64_WORD(name,offset,length,hash) ROMX_LOAD(name, offset, length, hash, ROM_GROUPWORD | ROM_SKIP(6)) | ^ 5 warnings generated. In file included from src/vidhrdw/lethal_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/konamigx.c... Compiling src/drivers/djmain.c... Compiling src/vidhrdw/djmain_vidhrdw.c... In file included from src/drivers/bishi.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/bishi.c:424:52: warning: cast from 'data16_t *' (aka 'unsigned short *') to 'INT32 *' (aka 'int *') increases required alignment from 2 to 4 [-Wcast-align] 424 | state_save_register_INT32("bishi", 0, "control2", (INT32 *)&cur_control, 1); | ^~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/dbz2.c:57: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/dbz2.c:495:9: warning: 'ROM_LOAD64_WORD' macro redefined [-Wmacro-redefined] 495 | #define ROM_LOAD64_WORD(name,offset,length,crc) ROMX_LOAD(name, offset, length, crc, ROM_GROUPWORD | ROM_SKIP(6)) | ^ src/common.h:363:9: note: previous definition is here 363 | #define ROM_LOAD64_WORD(name,offset,length,hash) ROMX_LOAD(name, offset, length, hash, ROM_GROUPWORD | ROM_SKIP(6)) | ^ src/drivers/dbz2.c:585:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 585 | ROM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/plygonet_vidhrdw.c... Compiling src/drivers/plygonet.c... In file included from src/machine/konamigx_machine.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/konamigx_machine.c:571:14: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align] 571 | shd_base = (UINT32 *)palette_shadow_table; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/konamigx_machine.c:516:13: warning: variable 'db0' set but not used [-Wunused-but-set-variable] 516 | UINT8 z8, db0, p8, db1; | ^ src/machine/konamigx_machine.c:516:22: warning: variable 'db1' set but not used [-Wunused-but-set-variable] 516 | UINT8 z8, db0, p8, db1; | ^ src/machine/konamigx_machine.c:1284:49: warning: variable 'prflp' set but not used [-Wunused-but-set-variable] 1284 | int wrapsize, xwraplim, ywraplim, cltc_shdpri, prflp, disp; | ^ src/machine/konamigx_machine.c:2007:16: warning: variable 'dst_count' set but not used [-Wunused-but-set-variable] 2007 | int dst_addr, dst_count, dst_skip; | ^ src/machine/konamigx_machine.c:2115:75: warning: variable 'hmask' set but not used [-Wunused-but-set-variable] 2115 | INT32 data1, data2, i, j, vpos, hpos, voffs, hoffs, vcorr, hcorr, vmask, hmask, magicid; | ^ 10 warnings generated. In file included from src/vidhrdw/konamigx_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/lethal.c:167: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mogura.c... Compiling src/drivers/konamigq.c... Compiling src/machine/carpolo_machine.c... In file included from src/vidhrdw/djmain_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/carpolo_vidhrdw.c... Compiling src/machine/am53cf96.c... Compiling src/drivers/carpolo.c... In file included from src/drivers/konamigq.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/djmain.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/konamigx.c:100: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:142:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 142 | void fantjour_dma_install(); | ^ | void src/drivers/konamigx.c:969:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 969 | data32_t *ROM = (data32_t *)memory_region(REGION_GFX3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:976:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 976 | data32_t *ROM = (data32_t *)memory_region(REGION_GFX3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:3307:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3307 | void fantjour_dma_install() | ^ | void src/drivers/konamigx.c:3471:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3471 | data32_t *rom = (data32_t*)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:1389:22: warning: unused function 'gxaudio_interrupt' [-Wunused-function] 1389 | static INTERRUPT_GEN(gxaudio_interrupt) | ^~~~~~~~~~~~~~~~~ src/driver.h:21:35: note: expanded from macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ 10 warnings generated. In file included from src/vidhrdw/plygonet_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/exidy_vidhrdw.c... In file included from src/drivers/mogura.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/exidy_sndhrdw.c... In file included from src/machine/carpolo_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exidy.c... Compiling src/sndhrdw/targ.c... In file included from src/machine/am53cf96.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/am53cf96.c:88:16: warning: variable 'dma' set but not used [-Wunused-but-set-variable] 88 | int reg, val, dma; | ^ 5 warnings generated. Compiling src/vidhrdw/circus_vidhrdw.c... In file included from src/drivers/plygonet.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/plygonet.c:126:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 126 | ROM = (data32_t *)memory_region(REGION_GFX1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/plygonet.c:136:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 136 | ROM = (data32_t *)memory_region(REGION_GFX2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/circus.c... In file included from src/vidhrdw/carpolo_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/carpolo_vidhrdw.c:103:7: warning: variable 'bit0' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^ src/vidhrdw/carpolo_vidhrdw.c:103:12: warning: variable 'bit1' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^ src/vidhrdw/carpolo_vidhrdw.c:103:17: warning: variable 'bit2' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^ 7 warnings generated. In file included from src/drivers/carpolo.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/starfire_vidhrdw.c... Compiling src/drivers/starfire.c... In file included from src/vidhrdw/exidy_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/exidy_vidhrdw.c:159:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 159 | motion_object_1_vid = auto_bitmap_alloc(16, 16); | ^ src/vidhrdw/exidy_vidhrdw.c:156:5: note: previous statement is here 156 | if (video_start_generic()) | ^ src/vidhrdw/exidy_vidhrdw.c:163:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 163 | motion_object_2_vid = auto_bitmap_alloc(16, 16); | ^ src/vidhrdw/exidy_vidhrdw.c:160:5: note: previous statement is here 160 | if (!motion_object_1_vid) | ^ src/vidhrdw/exidy_vidhrdw.c:167:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 167 | motion_object_2_clip = auto_bitmap_alloc(16, 16); | ^ src/vidhrdw/exidy_vidhrdw.c:164:5: note: previous statement is here 164 | if (!motion_object_2_vid) | ^ 7 warnings generated. In file included from src/sndhrdw/targ.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/exidy.c:128: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/victory_vidhrdw.c... Compiling src/drivers/victory.c... In file included from src/sndhrdw/exidy_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/circus.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/exidy440_sndhrdw.c... In file included from src/vidhrdw/circus_vidhrdw.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/circus_vidhrdw.c:274:26: warning: variable 'clip' set but not used [-Wunused-but-set-variable] 274 | const struct rectangle *clip; | ^ 5 warnings generated. Compiling src/vidhrdw/exidy440_vidhrdw.c... In file included from src/vidhrdw/starfire_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exidy440.c... In file included from src/drivers/starfire.c:47: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tia.c... Compiling src/machine/atari_vg.c... In file included from src/vidhrdw/victory_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tourtabl.c... In file included from src/sndhrdw/exidy440_sndhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/exidy440_sndhrdw.c:192:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'sound_cache_entry *' (aka 'struct sound_cache_entry *') increases required alignment from 1 to 8 [-Wcast-align] 192 | sound_cache_max = (sound_cache_entry *)((UINT8 *)sound_cache + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/exidy440_sndhrdw.c:289:9: warning: unused variable 'clippers' [-Wunused-variable] 289 | int i, clippers = 0; | ^~~~~~~~ src/sndhrdw/exidy440_sndhrdw.c:651:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'sound_cache_entry *' (aka 'struct sound_cache_entry *') increases required alignment from 1 to 8 [-Wcast-align] 651 | sound_cache_end = (sound_cache_entry *)((UINT8 *)current + sizeof(sound_cache_entry) + length * 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/machine/asteroid_machine.c... In file included from src/drivers/victory.c:98: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/asteroid_sndhrdw.c... Compiling src/drivers/asteroid.c... Compiling src/drivers/bwidow.c... Compiling src/sndhrdw/llander.c... In file included from src/machine/atari_vg.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tourtabl.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/tia.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/bzone_sndhrdw.c... In file included from src/vidhrdw/exidy440_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/exidy440.c:217: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/asteroid_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bzone.c... In file included from src/drivers/asteroid.c:141: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/redbaron.c... In file included from src/drivers/bwidow.c:216: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/asteroid_sndhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/asteroid_sndhrdw.c:125:66: warning: implicit conversion from 'double' to 'int' changes value from 76.09999999999999 to 76 [-Wliteral-conversion] 125 | DISCRETE_TRIANGLEWAVE(NODE_43, ASTEROID_SAUCER_SND_EN, NODE_42, 76.1, 0, 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/sound/discrete.h:2289:114: note: expanded from macro 'DISCRETE_TRIANGLEWAVE' 2289 | #define DISCRETE_TRIANGLEWAVE(NODE,ENAB,FREQ,AMPL,BIAS,PHASE) { NODE, DSS_TRIANGLEWAVE, 5, { ENAB,FREQ,AMPL,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,BIAS,PHASE }, NULL, "Triangle Wave" }, | ~ ^~~~ src/sndhrdw/asteroid_sndhrdw.c:120:58: warning: implicit conversion from 'double' to 'int' changes value from 8.25 to 8 [-Wliteral-conversion] 120 | DISCRETE_MULTADD(NODE_40, 1, ASTEROID_SAUCER_SEL, -2.5, 8.25) /* Saucer Warble rate (5.75 or 8.25Hz)*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sound/discrete.h:2324:119: note: expanded from macro 'DISCRETE_MULTADD' 2324 | #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, | ~ ^~~~ src/sndhrdw/asteroid_sndhrdw.c:120:52: warning: implicit conversion from 'double' to 'int' changes value from -2.5 to -2 [-Wliteral-conversion] 120 | DISCRETE_MULTADD(NODE_40, 1, ASTEROID_SAUCER_SEL, -2.5, 8.25) /* Saucer Warble rate (5.75 or 8.25Hz)*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/sound/discrete.h:2324:114: note: expanded from macro 'DISCRETE_MULTADD' 2324 | #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, | ~ ^~~~ src/sndhrdw/asteroid_sndhrdw.c:104:71: warning: implicit conversion from 'double' to 'int' changes value from 106.4 to 106 [-Wliteral-conversion] 104 | DISCRETE_SQUAREWFIX(NODE_30, ASTEROID_THUMP_EN, ASTEROID_THUMP_FREQ, 106.4, ASTEROID_THUMP_DUTY, 0, 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ 8 warnings generated. Compiling src/drivers/tempest.c... Compiling src/machine/starwars_machine.c... Compiling src/drivers/starwars.c... In file included from src/sndhrdw/llander.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/llander.c:63:68: warning: implicit conversion from 'double' to 'int' changes value from 9.199999999999999 to 9 [-Wliteral-conversion] 63 | DISCRETE_SQUAREWFIX(LLANDER_TONE_6K_SND, LLANDER_TONE6K_EN, 6000, 9.2, 50, 0, 0) /* 6KHz*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/sndhrdw/llander.c:61:68: warning: implicit conversion from 'double' to 'int' changes value from 9.199999999999999 to 9 [-Wliteral-conversion] 61 | DISCRETE_SQUAREWFIX(LLANDER_TONE_3K_SND, LLANDER_TONE3K_EN, 3000, 9.2, 50, 0, 0) /* 3KHz*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ 6 warnings generated. Compiling src/sndhrdw/starwars_sndhrdw.c... In file included from src/drivers/bzone.c:198: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tempest.c:176: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/bzone_sndhrdw.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/redbaron.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/starwars.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mhavoc_machine.c... In file included from src/machine/starwars_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mhavoc.c... Compiling src/drivers/quantum.c... Compiling src/vidhrdw/copsnrob_vidhrdw.c... In file included from src/sndhrdw/starwars_sndhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/copsnrob_machine.c... In file included from src/drivers/quantum.c:46: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mhavoc.c:178: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/copsnrob.c... Compiling src/vidhrdw/flyball_vidhrdw.c... In file included from src/machine/mhavoc_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/flyball.c... Compiling src/vidhrdw/sprint2_vidhrdw.c... In file included from src/vidhrdw/copsnrob_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sprint2.c... Compiling src/vidhrdw/sprint4_vidhrdw.c... In file included from src/machine/copsnrob_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/flyball_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sprint4.c... In file included from src/vidhrdw/sprint2_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/copsnrob.c:55: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sprint8_vidhrdw.c... Compiling src/drivers/sprint8.c... Compiling src/vidhrdw/nitedrvr_vidhrdw.c... In file included from src/vidhrdw/sprint4_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sprint2.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/sprint2.c:669:50: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] 669 | DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/sound/discrete.h:2286:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/sprint2.c:669:43: warning: implicit conversion from 'double' to 'int' changes value from 407.8 to 407 [-Wliteral-conversion] 669 | DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2286:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/sprint2.c:787:77: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] 787 | DISCRETE_SQUAREWAVE(SPRINT2_SKIDSND1, SPRINT2_SKIDSND1_EN, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/sound/discrete.h:2286:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/sprint2.c:787:70: warning: implicit conversion from 'double' to 'int' changes value from 407.8 to 407 [-Wliteral-conversion] 787 | DISCRETE_SQUAREWAVE(SPRINT2_SKIDSND1, SPRINT2_SKIDSND1_EN, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2286:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/sprint2.c:848:72: warning: implicit conversion from 'double' to 'int' changes value from 394.7 to 394 [-Wliteral-conversion] 848 | DISCRETE_SQUAREWFIX(DOMINOS_TOPPLE_SND, DOMINOS_TOPPLE_EN, 15750.0/8, 394.7, 50.0, 0, 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ 9 warnings generated. Compiling src/drivers/nitedrvr.c... Compiling src/machine/nitedrvr_machine.c... In file included from src/drivers/flyball.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sprint8.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/dominos.c... Compiling src/vidhrdw/triplhnt_vidhrdw.c... In file included from src/vidhrdw/nitedrvr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/nitedrvr_vidhrdw.c:82:13: warning: unused function 'nitedrvr_draw_hacks' [-Wunused-function] 82 | static void nitedrvr_draw_hacks( struct mame_bitmap *bitmap ) | ^~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/triplhnt.c... In file included from src/drivers/sprint4.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/triplhnt.c... In file included from src/vidhrdw/sprint8_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dragrace_vidhrdw.c... In file included from src/drivers/nitedrvr.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nitedrvr.c:352:73: warning: implicit conversion from 'double' to 'int' changes value from 226.9 to 226 [-Wliteral-conversion] 352 | DISCRETE_SQUAREWAVE(NITEDRVR_SCREECH2_SND, NITEDRVR_SKID2_EN, NODE_75, 226.9, NODE_76, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2286:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/nitedrvr.c:348:80: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] 348 | DISCRETE_SQUAREWAVE(NITEDRVR_SCREECH1_SND, NITEDRVR_SKID1_EN, NODE_72, 226.9, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/sound/discrete.h:2286:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/nitedrvr.c:348:73: warning: implicit conversion from 'double' to 'int' changes value from 226.9 to 226 [-Wliteral-conversion] 348 | DISCRETE_SQUAREWAVE(NITEDRVR_SCREECH1_SND, NITEDRVR_SKID1_EN, NODE_72, 226.9, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2286:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ 7 warnings generated. In file included from src/drivers/triplhnt.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/nitedrvr_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dragrace.c... In file included from src/vidhrdw/triplhnt_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/triplhnt_vidhrdw.c:158:22: warning: '/*' within block comment [-Wcomment] 158 | /*discrete_sound_w(0/*TRIPLHNT_BEAR_ROAR_DATA*/ /*, triplhnt_playfield_ram[0xfa] & 15); */ | ^ src/vidhrdw/triplhnt_vidhrdw.c:159:22: warning: '/*' within block comment [-Wcomment] 159 | /*discrete_sound_w(2/*TRIPLHNT_SHOT_DATA*/ /*, triplhnt_playfield_ram[0xfc] & 15); */ | ^ 6 warnings generated. Compiling src/vidhrdw/poolshrk_vidhrdw.c... In file included from src/machine/dominos.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/poolshrk.c... In file included from src/drivers/dragrace.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/dragrace.c:507:78: warning: implicit conversion from 'double' to 'int' changes value from 593.8 to 593 [-Wliteral-conversion] 507 | DISCRETE_SQUAREWFIX(DRAGRACE_HITONE_SND, DRAGRACE_HITONE_EN, 15750.0/2/4, 593.8, 50.0, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/drivers/dragrace.c:506:78: warning: implicit conversion from 'double' to 'int' changes value from 593.8 to 593 [-Wliteral-conversion] 506 | DISCRETE_SQUAREWFIX(DRAGRACE_LOTONE_SND, DRAGRACE_LOTONE_EN, 15750.0/2/32, 593.8, 50.0, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/drivers/dragrace.c:498:50: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] 498 | DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/sound/discrete.h:2286:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/dragrace.c:498:43: warning: implicit conversion from 'double' to 'int' changes value from 407.8 to 407 [-Wliteral-conversion] 498 | DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2286:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ 8 warnings generated. In file included from src/sndhrdw/triplhnt.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/triplhnt.c:182:89: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 182 | DISCRETE_SCHMITT_OSCILLATOR(TRIPLHNT_SCREECH_SND, TRIPLHNT_SCREECH_EN, TRIPLHNT_NOISE, 3.4, &triplhnt_screech_osc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2294:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' 2294 | #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, | ~ ^~~~ src/sndhrdw/triplhnt.c:175:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 173 | DISCRETE_DAC_R1(TRIPLHNT_SHOT_SND, 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | NODE_40, | ~~~~~~~~ 175 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | &triplhnt_shot_dac) | ~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/triplhnt.c:163:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 162 | DISCRETE_DAC_R1(TRIPLHNT_BEAR_ROAR_SND, 1, NODE_29, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | &triplhnt_bear_roar_out_dac) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/triplhnt.c:148:4: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 145 | DISCRETE_555_CC(NODE_22, 1, /* IC C11 pin 3, always enabled */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 146 | NODE_21, /* vIn */ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | NODE_20, /* current adjust */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | 1.e-8, /* C58 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 149 | 0, 390000, 0, /* no rBias, R87, no rDis */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | &triplhnt_bear_roar_vco) | ~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' 2369 | #define DISCRETE_555_CC(NODE,RESET,VIN,R,C,RBIAS,RGND,RDIS,OPTIONS) { NODE, DSD_555_CC , 7, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, OPTIONS, "555 Constant Current VCO" }, | ~ ^ src/sndhrdw/triplhnt.c:143:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 141 | DISCRETE_DAC_R1(NODE_21, 1, /* base of Q2 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | TRIPLHNT_BEAR_ROAR_DATA, /* IC B10, Q0-Q3 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | &triplhnt_bear_roar_v_dac) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/triplhnt.c:132:5: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 129 | DISCRETE_LFSR_NOISE(TRIPLHNT_NOISE, /* Output A7 pin 13 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | TRIPLHNT_LAMP_EN, TRIPLHNT_LAMP_EN, /* From gate A8 pin 10 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | 12096000.0/2/256, /* 256H signal */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 | 3.4, 0, 3.4/2, &triplhnt_lfsr) /* TTL voltage level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2282:120: note: expanded from macro 'DISCRETE_LFSR_NOISE' 2282 | #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,FREQ,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, | ~ ^~~~ 10 warnings generated. Compiling src/vidhrdw/starshp1_vidhrdw.c... Compiling src/drivers/starshp1.c... In file included from src/vidhrdw/dragrace_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/canyon_vidhrdw.c... Compiling src/drivers/canyon.c... Compiling src/vidhrdw/destroyr_vidhrdw.c... Compiling src/drivers/ultratnk.c... Compiling src/drivers/destroyr.c... In file included from src/vidhrdw/poolshrk_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wolfpack_vidhrdw.c... Compiling src/drivers/wolfpack.c... In file included from src/drivers/canyon.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/canyon.c:461:71: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 461 | DISCRETE_555_ASTABLE(NODE_78, CANYON_WHISTLESND2_EN, 33000, NODE_75, 1e-8, NODE_77, &canyonWhistl555) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2367:116: note: expanded from macro 'DISCRETE_555_ASTABLE' 2367 | #define DISCRETE_555_ASTABLE(NODE,RESET,R1,R2,C,CTRLV,OPTIONS) { NODE, DSD_555_ASTBL , 5, { RESET,R1,R2,C,CTRLV }, { RESET,R1,R2,C,CTRLV }, OPTIONS, "555 Astable" }, | ~ ^ src/drivers/canyon.c:459:65: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] 459 | DISCRETE_MULTADD(NODE_76, 1, CANYON_WHISTLESND2_EN, 3.05-0.33, 0.33) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sound/discrete.h:2324:119: note: expanded from macro 'DISCRETE_MULTADD' 2324 | #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, | ~ ^~~~ src/drivers/canyon.c:455:71: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 455 | DISCRETE_555_ASTABLE(NODE_73, CANYON_WHISTLESND1_EN, 33000, NODE_70, 1e-8, NODE_72, &canyonWhistl555) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2367:116: note: expanded from macro 'DISCRETE_555_ASTABLE' 2367 | #define DISCRETE_555_ASTABLE(NODE,RESET,R1,R2,C,CTRLV,OPTIONS) { NODE, DSD_555_ASTBL , 5, { RESET,R1,R2,C,CTRLV }, { RESET,R1,R2,C,CTRLV }, OPTIONS, "555 Astable" }, | ~ ^ src/drivers/canyon.c:453:65: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] 453 | DISCRETE_MULTADD(NODE_71, 1, CANYON_WHISTLESND1_EN, 3.05-0.33, 0.33) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sound/discrete.h:2324:119: note: expanded from macro 'DISCRETE_MULTADD' 2324 | #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, | ~ ^~~~ 8 warnings generated. In file included from src/drivers/poolshrk.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/boxer_vidhrdw.c... In file included from src/drivers/ultratnk.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/ultratnk.c:618:50: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] 618 | DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/sound/discrete.h:2286:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ src/drivers/ultratnk.c:618:43: warning: implicit conversion from 'double' to 'int' changes value from 407.8 to 407 [-Wliteral-conversion] 618 | DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2286:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' 2286 | #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, | ~ ^~~~ 6 warnings generated. In file included from src/vidhrdw/canyon_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/starshp1_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/destroyr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/boxer.c... In file included from src/drivers/wolfpack.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/starshp1.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/skyraid_vidhrdw.c... In file included from src/vidhrdw/wolfpack_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/avalnche_machine.c... Compiling src/vidhrdw/avalnche_vidhrdw.c... Compiling src/drivers/skyraid.c... In file included from src/drivers/destroyr.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/avalnche.c... Compiling src/drivers/firetrk.c... Compiling src/vidhrdw/firetrk_vidhrdw.c... Compiling src/sndhrdw/ataridis_sndhrdw.c... In file included from src/vidhrdw/boxer_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/skydiver_vidhrdw.c... In file included from src/drivers/skyraid.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skydiver.c... Compiling src/machine/sbrkout_machine.c... In file included from src/machine/avalnche_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/boxer.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/avalnche.c:30: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/avalnche.c:211:71: warning: implicit conversion from 'double' to 'int' changes value from 750.2 to 750 [-Wliteral-conversion] 211 | DISCRETE_SQUAREWFIX(AVALNCHE_AUD2_SND, AVALNCHE_AUD2_EN, 15750.0/16, 750.2, 50.0, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/drivers/avalnche.c:210:71: warning: implicit conversion from 'double' to 'int' changes value from 750.2 to 750 [-Wliteral-conversion] 210 | DISCRETE_SQUAREWFIX(AVALNCHE_AUD1_SND, AVALNCHE_AUD1_EN, 15750.0/64, 750.2, 50.0, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/drivers/avalnche.c:209:61: warning: implicit conversion from 'double' to 'int' changes value from 725.6 to 725 [-Wliteral-conversion] 209 | DISCRETE_SQUAREWFIX(NODE_20, AVALNCHE_AUD0_EN, 15750.0/4, 725.6, 50.0, 0, 0.0) /* Aud0*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ 7 warnings generated. In file included from src/vidhrdw/avalnche_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sbrkout.c... Compiling src/vidhrdw/sbrkout_vidhrdw.c... In file included from src/vidhrdw/skyraid_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/ataridis_sndhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/ataridis_sndhrdw.c:256:78: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 256 | DISCRETE_SQUAREWFIX(FIRETRUCK_XTNDPLYSND, FIRETRUCK_XTNDPLY_EN, 15750.0/16, 3.4, 50.0, 3.4/2, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:238:5: warning: implicit conversion from 'double' to 'int' changes value from 4.4 to 4 [-Wliteral-conversion] 237 | DISCRETE_RCDISC2(NODE_70, FIRETRUCK_BELL_EN, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | 4.4, 10, /* Q3 instantally charges C42 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | 0, 33000, /* discharges thru R66 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 240 | 1e-5) /* C42 */ | ~~~~~ src/sound/discrete.h:2357:111: note: expanded from macro 'DISCRETE_RCDISC2' 2357 | #define DISCRETE_RCDISC2(NODE,SWITCH,INP0,RVAL0,INP1,RVAL1,CVAL) { NODE, DST_RCDISC2 , 6, { SWITCH,INP0,NODE_NC,INP1,NODE_NC,NODE_NC }, { SWITCH,INP0,RVAL0,INP1,RVAL1,CVAL }, NULL, "RC Discharge 2" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:230:88: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 230 | DISCRETE_SCHMITT_OSCILLATOR(FIRETRUCK_SCREECHSND, FIRETRUCK_SKID_EN, FIRETRUCK_NOISE, 3.4, &firetrk_screech_osc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2294:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' 2294 | #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:223:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 221 | DISCRETE_DAC_R1(FIRETRUCK_BANGSND, 1, /* Bang */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | NODE_50, /* from enable gates K9 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | &firetrk_bang_dac) | ~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:217:104: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] 217 | DISCRETE_LFSR_NOISE(FIRETRUCK_NOISE, FIRETRUCK_ATTRACT_INV, FIRETRUCK_ATTRACT_INV, 15750.0/4, 1.0, 0, 0.5, &firetrk_lfsr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2282:130: note: expanded from macro 'DISCRETE_LFSR_NOISE' 2282 | #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,FREQ,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:204:5: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-7 to 0 [-Wliteral-conversion] 201 | DISCRETE_555_ASTABLE(FIRETRUCK_SIRENSND, FIRETRUCK_ATTRACT_INV, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | 2200, /* R60 */ | ~~~~~~~~~~~~~~~~~ 203 | 10000, /* R59 */ | ~~~~~~~~~~~~~~~~~ 204 | 1e-7, /* C37 */ | ^~~~~~~~~~~~~~~~~ 205 | NODE_40, /* CV is straight from DAC because op-amp E9 is just x1 buffer */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | &firetrk_siren_555) | ~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2367:116: note: expanded from macro 'DISCRETE_555_ASTABLE' 2367 | #define DISCRETE_555_ASTABLE(NODE,RESET,R1,R2,C,CTRLV,OPTIONS) { NODE, DSD_555_ASTBL , 5, { RESET,R1,R2,C,CTRLV }, { RESET,R1,R2,C,CTRLV }, OPTIONS, "555 Astable" }, | ~ ^ src/sndhrdw/ataridis_sndhrdw.c:199:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 197 | DISCRETE_DAC_R1(NODE_40, 1, /* IC E9, pin 7 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | FIRETRUCK_SIREN_DATA, /* IC F8, pins 15,16,12,19 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | &firetrk_siren_cv_dac) | ~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:187:67: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 187 | DISCRETE_SQUAREWFIX(NODE_30, FIRETRUCK_ATTRACT_INV, 15750.0/128, 3.4, 50.0, 3.4/2, 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:179:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 178 | DISCRETE_DAC_R1(FIRETRUCK_MOTORSND, 1, NODE_26, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | &firetrk_motor_out_dac) | ~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:167:4: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 164 | DISCRETE_555_CC(NODE_22, 1, /* IC B9 pin 3, always enabled */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | NODE_21, /* vIn */ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | NODE_20, /* current adjust */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | 1.e-8, /* C25 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 168 | 1000000, 0, 0, /* R28, no rGnd, no rDis */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | &firetrk_motor_vco) | ~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' 2369 | #define DISCRETE_555_CC(NODE,RESET,VIN,R,C,RBIAS,RGND,RDIS,OPTIONS) { NODE, DSD_555_CC , 7, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, OPTIONS, "555 Constant Current VCO" }, | ~ ^ src/sndhrdw/ataridis_sndhrdw.c:162:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 160 | DISCRETE_DAC_R1(NODE_21, 1, /* base of Q1 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | FIRETRUCK_MOTOR_DATA, /* IC F8, pins 2,5,6,9 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 162 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | &firetrk_motor_v_dac) | ~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:428:68: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 428 | DISCRETE_SQUAREWFIX(SUPERBUG_ASRSND, SUPERBUG_ASR_EN, 15750.0/16, 3.4, 50.0, 3.4/2, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:421:85: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 421 | DISCRETE_SCHMITT_OSCILLATOR(SUPERBUG_SCREECHSND, SUPERBUG_SKID_EN, SUPERBUG_NOISE, 3.4, &superbug_screech_osc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2294:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' 2294 | #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:414:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 412 | DISCRETE_DAC_R1(SUPERBUG_BANGSND, 1, /* Bang */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | NODE_40, /* from enable gates C8 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 415 | &superbug_bang_dac) | ~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:408:101: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] 408 | DISCRETE_LFSR_NOISE(SUPERBUG_NOISE, SUPERBUG_ATTRACT_INV, SUPERBUG_ATTRACT_INV, 15750.0/4, 1.0, 0, 0.5, &firetrk_lfsr) /* Same as firetrk */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2282:130: note: expanded from macro 'DISCRETE_LFSR_NOISE' 2282 | #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,FREQ,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:396:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 395 | DISCRETE_DAC_R1(SUPERBUG_MOTORSND, 1, NODE_28, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 396 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 397 | &superbug_motor_out_dac) | ~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:382:4: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 379 | DISCRETE_555_CC(NODE_22, 1, /* IC A6 pin 3, always enabled */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | NODE_21, /* vIn */ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 381 | NODE_20, /* current adjust */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 382 | 1.e-8, /* C21 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 383 | 3300000, 0, 0, /* R11, no rGnd, no rDis */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 384 | &superbug_motor_vco) | ~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' 2369 | #define DISCRETE_555_CC(NODE,RESET,VIN,R,C,RBIAS,RGND,RDIS,OPTIONS) { NODE, DSD_555_CC , 7, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, OPTIONS, "555 Constant Current VCO" }, | ~ ^ src/sndhrdw/ataridis_sndhrdw.c:377:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 375 | DISCRETE_DAC_R1(NODE_21, 1, /* base of Q1 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | SUPERBUG_SPEED_DATA, /* IC B5, pins 3, 14, 6, 11 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 377 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | &superbug_motor_v_dac) | ~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:654:72: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 654 | DISCRETE_SQUAREWFIX(MONTECAR_BEEPSND, MONTECAR_BEEPER_EN, 15750.0/16, 3.4, 50.0, 3.4/2, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:646:73: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 646 | DISCRETE_SCHMITT_OSCILLATOR(NODE_60, MONTECAR_SKID_EN, MONTECAR_NOISE, 3.4, &montecar_screech_osc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2294:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' 2294 | #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:639:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 637 | DISCRETE_DAC_R1(MONTECAR_BANGSND, 1, /* Bang */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | NODE_50, /* from enable gates A9 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 640 | &montecar_bang_dac) | ~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:633:101: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] 633 | DISCRETE_LFSR_NOISE(MONTECAR_NOISE, MONTECAR_ATTRACT_INV, MONTECAR_ATTRACT_INV, 15750.0/4, 1.0, 0, 0.5, &firetrk_lfsr) /* Same as firetrk */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2282:130: note: expanded from macro 'DISCRETE_LFSR_NOISE' 2282 | #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,FREQ,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, { ENAB,RESET,FREQ,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, | ~ ^~~~ src/sndhrdw/ataridis_sndhrdw.c:619:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 618 | DISCRETE_DAC_R1(MONTECAR_DRONE_MOTORSND, 1, NODE_48, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 619 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 620 | &montecar_motor_out_dac) | ~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:605:4: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 602 | DISCRETE_555_CC(NODE_42, 1, /* IC C9 pin 5 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 603 | NODE_41, /* vIn */ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 604 | NODE_40, /* current adjust */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | 1.e-8, /* C80 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 606 | 1000000, 0, 0, /* R81, no rGnd, no rDis */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 607 | &montecar_motor_vco) | ~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' 2369 | #define DISCRETE_555_CC(NODE,RESET,VIN,R,C,RBIAS,RGND,RDIS,OPTIONS) { NODE, DSD_555_CC , 7, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, OPTIONS, "555 Constant Current VCO" }, | ~ ^ src/sndhrdw/ataridis_sndhrdw.c:600:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 598 | DISCRETE_DAC_R1(NODE_41, 1, /* base of Q7 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 599 | MONTECAR_DRONE_MOTOR_DATA, /* IC H8, pins 19, 16, 12, 15 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 600 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 601 | &montecar_motor_v_dac) | ~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:583:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 582 | DISCRETE_DAC_R1(MONTECAR_MOTORSND, 1, NODE_28, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 583 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | &montecar_motor_out_dac) | ~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ src/sndhrdw/ataridis_sndhrdw.c:569:4: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 566 | DISCRETE_555_CC(NODE_22, 1, /* IC C9 pin 9 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 567 | NODE_21, /* vIn */ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 568 | NODE_20, /* current adjust */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 569 | 1.e-8, /* C81 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 570 | 1000000, 0, 0, /* R86, no rGnd, no rDis */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 571 | &montecar_motor_vco) | ~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' 2369 | #define DISCRETE_555_CC(NODE,RESET,VIN,R,C,RBIAS,RGND,RDIS,OPTIONS) { NODE, DSD_555_CC , 7, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, OPTIONS, "555 Constant Current VCO" }, | ~ ^ src/sndhrdw/ataridis_sndhrdw.c:564:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 562 | DISCRETE_DAC_R1(NODE_21, 1, /* base of Q7 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 563 | MONTECAR_MOTOR_DATA, /* IC H8, pins 5, 2, 9, 6 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | 3.4, /* TTL ON level */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 565 | &montecar_motor_v_dac) | ~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' 2337 | #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, | ~ ^~~~~ 32 warnings generated. In file included from src/drivers/firetrk.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/skydiver.c:85: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/skydiver.c:506:48: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 506 | DISCRETE_SWITCH(NODE_38, 1, SKYDIVER_OCT2_EN, 1e-8, 1e-8 + 3.3e-9) /* Cap C72 & C59 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2330:116: note: expanded from macro 'DISCRETE_SWITCH' 2330 | #define DISCRETE_SWITCH(NODE,ENAB,SWITCH,INP0,INP1) { NODE, DST_SWITCH , 4, { ENAB,SWITCH,INP0,INP1 }, { ENAB,SWITCH,INP0,INP1 }, NULL, "2 Pole Switch" }, | ~ ^~~~ src/drivers/skydiver.c:504:64: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] 504 | DISCRETE_MULTADD(NODE_36, 1, SKYDIVER_WHISTLE2_EN, 3.05-0.33, 0.33) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sound/discrete.h:2324:119: note: expanded from macro 'DISCRETE_MULTADD' 2324 | #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, | ~ ^~~~ src/drivers/skydiver.c:499:48: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 499 | DISCRETE_SWITCH(NODE_33, 1, SKYDIVER_OCT1_EN, 1e-8, 1e-8 + 3.3e-9) /* Cap C73 & C58 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2330:116: note: expanded from macro 'DISCRETE_SWITCH' 2330 | #define DISCRETE_SWITCH(NODE,ENAB,SWITCH,INP0,INP1) { NODE, DST_SWITCH , 4, { ENAB,SWITCH,INP0,INP1 }, { ENAB,SWITCH,INP0,INP1 }, NULL, "2 Pole Switch" }, | ~ ^~~~ src/drivers/skydiver.c:497:64: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] 497 | DISCRETE_MULTADD(NODE_31, 1, SKYDIVER_WHISTLE1_EN, 3.05-0.33, 0.33) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sound/discrete.h:2324:119: note: expanded from macro 'DISCRETE_MULTADD' 2324 | #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, | ~ ^~~~ 8 warnings generated. Compiling src/vidhrdw/atarifb_vidhrdw.c... Compiling src/machine/atarifb_machine.c... In file included from src/vidhrdw/firetrk_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/skydiver_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarifb.c... Compiling src/vidhrdw/orbit_vidhrdw.c... In file included from src/drivers/sbrkout.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/orbit.c... In file included from src/machine/sbrkout_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/videopin.c... In file included from src/machine/atarifb_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/videopin_vidhrdw.c... In file included from src/vidhrdw/sbrkout_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/atarifb_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/subs_machine.c... Compiling src/vidhrdw/subs_vidhrdw.c... In file included from src/vidhrdw/orbit_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/subs.c... In file included from src/drivers/atarifb.c:105: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/atarifb.c:647:64: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-7 to 0 [-Wliteral-conversion] 647 | DISCRETE_555_ASTABLE(NODE_20, ATARIFB_WHISTLE_EN, 2200, 2200, 1e-7, NODE_NC, &atarifbWhistl555) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2367:116: note: expanded from macro 'DISCRETE_555_ASTABLE' 2367 | #define DISCRETE_555_ASTABLE(NODE,RESET,R1,R2,C,CTRLV,OPTIONS) { NODE, DSD_555_ASTBL , 5, { RESET,R1,R2,C,CTRLV }, { RESET,R1,R2,C,CTRLV }, OPTIONS, "555 Astable" }, | ~ ^ src/drivers/atarifb.c:709:63: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-7 to 0 [-Wliteral-conversion] 709 | DISCRETE_555_ASTABLE(NODE_20, ABASEB_WHISTLE_EN, 2200, 2200, 1e-7, NODE_NC, &atarifbWhistl555) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2367:116: note: expanded from macro 'DISCRETE_555_ASTABLE' 2367 | #define DISCRETE_555_ASTABLE(NODE,RESET,R1,R2,C,CTRLV,OPTIONS) { NODE, DSD_555_ASTBL , 5, { RESET,R1,R2,C,CTRLV }, { RESET,R1,R2,C,CTRLV }, OPTIONS, "555 Astable" }, | ~ ^ 6 warnings generated. Compiling src/vidhrdw/bsktball_vidhrdw.c... In file included from src/vidhrdw/videopin_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bsktball.c... Compiling src/vidhrdw/centiped_vidhrdw.c... Compiling src/machine/bsktball_machine.c... Compiling src/drivers/centiped.c... Compiling src/vidhrdw/runaway_vidhrdw.c... In file included from src/drivers/videopin.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/orbit.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/orbit.c:374:70: warning: implicit conversion from 'double' to 'int' changes value from 755.4 to 755 [-Wliteral-conversion] 374 | DISCRETE_SQUAREWFIX(ORBIT_WARNING_SND, ORBIT_WARNING_EN, 15750.0/4, 755.4, 50.0, 0, 0.0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2287:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' 2287 | #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, | ~ ^~~~ 5 warnings generated. Compiling src/drivers/runaway.c... Compiling src/machine/missile_machine.c... In file included from src/machine/subs_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/subs_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/missile_vidhrdw.c... In file included from src/drivers/centiped.c:275: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/centiped.c:401:23: warning: unused function 'control_select_w' [-Wunused-function] 401 | static WRITE_HANDLER( control_select_w ) | ^~~~~~~~~~~~~~~~ src/memory.h:127:39: note: expanded from macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^~~~ 5 warnings generated. In file included from src/vidhrdw/centiped_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/missile.c... Compiling src/vidhrdw/foodf_vidhrdw.c... In file included from src/drivers/subs.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/subs.c:284:59: warning: implicit conversion from 'double' to 'int' changes value from 320.8 to 320 [-Wliteral-conversion] 284 | DISCRETE_TRIANGLEWAVE(SUBS_SONAR2_SND, NODE_52, NODE_51, 320.8, 0.0, 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/sound/discrete.h:2289:114: note: expanded from macro 'DISCRETE_TRIANGLEWAVE' 2289 | #define DISCRETE_TRIANGLEWAVE(NODE,ENAB,FREQ,AMPL,BIAS,PHASE) { NODE, DSS_TRIANGLEWAVE, 5, { ENAB,FREQ,AMPL,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,BIAS,PHASE }, NULL, "Triangle Wave" }, | ~ ^~~~ src/drivers/subs.c:279:59: warning: implicit conversion from 'double' to 'int' changes value from 320.8 to 320 [-Wliteral-conversion] 279 | DISCRETE_TRIANGLEWAVE(SUBS_SONAR1_SND, NODE_42, NODE_41, 320.8, 0.0, 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/sound/discrete.h:2289:114: note: expanded from macro 'DISCRETE_TRIANGLEWAVE' 2289 | #define DISCRETE_TRIANGLEWAVE(NODE,ENAB,FREQ,AMPL,BIAS,PHASE) { NODE, DSS_TRIANGLEWAVE, 5, { ENAB,FREQ,AMPL,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,BIAS,PHASE }, NULL, "Triangle Wave" }, | ~ ^~~~ 6 warnings generated. In file included from src/vidhrdw/bsktball_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/bsktball.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/foodf.c... In file included from src/machine/bsktball_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/missile_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tunhunt.c... In file included from src/drivers/runaway.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/missile_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/liberatr.c... Compiling src/vidhrdw/ccastles_vidhrdw.c... Compiling src/vidhrdw/liberatr_vidhrdw.c... Compiling src/drivers/ccastles.c... Compiling src/vidhrdw/tunhunt_vidhrdw.c... In file included from src/vidhrdw/runaway_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cloak_vidhrdw.c... In file included from src/drivers/missile.c:146: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/foodf_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tunhunt.c:51: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/foodf.c:76: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/foodf.c:103:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 103 | return ((data16_t *)generic_nvram)[offset] | 0xfff0; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/cloak.c... In file included from src/drivers/liberatr.c:136: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/liberatr_vidhrdw.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/liberatr_vidhrdw.c:314:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 314 | if ((liberatr_videoram = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height)) == 0) | ^ src/vidhrdw/liberatr_vidhrdw.c:311:5: note: previous statement is here 311 | if ((tmpbitmap = auto_bitmap_alloc(Machine->drv->screen_width, Machine->drv->screen_height)) == 0) | ^ 5 warnings generated. Compiling src/vidhrdw/cloud9_vidhrdw.c... In file included from src/drivers/ccastles.c:84: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cloud9.c... Compiling src/vidhrdw/jedi_vidhrdw.c... In file included from src/vidhrdw/ccastles_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/cloak_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jedi.c... Compiling src/machine/atarigen.c... In file included from src/vidhrdw/tunhunt_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/atarijsa.c... Compiling src/vidhrdw/atarimo_vidhrdw.c... In file included from src/drivers/cloak.c:110: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/cloud9.c:61: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarirle_vidhrdw.c... Compiling src/machine/slapstic.c... In file included from src/drivers/jedi.c:111: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/jedi_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarisy1_vidhrdw.c... Compiling src/drivers/atarisy1.c... In file included from src/vidhrdw/cloud9_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cloud9_vidhrdw.c:262:19: warning: variable 'rblank' set but not used [-Wunused-but-set-variable] 262 | int xflip,yflip,rblank,lblank; | ^ src/vidhrdw/cloud9_vidhrdw.c:262:26: warning: variable 'lblank' set but not used [-Wunused-but-set-variable] 262 | int xflip,yflip,rblank,lblank; | ^ 6 warnings generated. In file included from src/sndhrdw/atarijsa.c:33: In file included from src/machine/atarigen.h:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/slapstic.c:182: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/atarigen.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarisy2.c... Compiling src/vidhrdw/atarisy2_vidhrdw.c... Compiling src/machine/irobot_machine.c... In file included from src/vidhrdw/atarimo_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo_vidhrdw.c:547:10: warning: array index -1 is before the beginning of the array [-Warray-bounds] 547 | rect = &mo->rectlist[-1]; | ^ ~~ src/vidhrdw/atarimo_vidhrdw.c:105:2: note: array 'rectlist' declared here 105 | struct rectangle rectlist[ATARIMO_MAXPERBANK]; /* list of bounding rectangles */ | ^ 5 warnings generated. In file included from src/vidhrdw/atarirle_vidhrdw.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle_vidhrdw.c:273:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const data16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 273 | const data16_t *base = (const data16_t *)memory_region(desc->region); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle_vidhrdw.c:678:15: warning: variable 'value' set but not used [-Wunused-but-set-variable] 678 | int count, value; | ^ src/vidhrdw/atarirle_vidhrdw.c:848:8: 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:848:12: 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:804:19: warning: variable 'which' set but not used [-Wunused-but-set-variable] 804 | int scale, code, which; | ^ src/vidhrdw/atarirle_vidhrdw.c:166:19: warning: unused function 'compute_log' [-Wunused-function] 166 | static INLINE int compute_log(int value) | ^~~~~~~~~~~ src/vidhrdw/atarirle_vidhrdw.c:204:19: warning: unused function 'collapse_bits' [-Wunused-function] 204 | static INLINE int collapse_bits(int value, int mask) | ^~~~~~~~~~~~~ 11 warnings generated. Compiling src/vidhrdw/irobot_vidhrdw.c... Compiling src/drivers/irobot.c... Compiling src/machine/harddriv_machine.c... Compiling src/vidhrdw/harddriv_vidhrdw.c... In file included from src/drivers/atarisy1.c:119: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/atarisy1_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarisy1_vidhrdw.c:518:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 518 | if (mo[x] & ATARIMO_PRIORITY_MASK) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 5 warnings generated. Compiling src/sndhrdw/harddriv_sndhrdw.c... Compiling src/drivers/harddriv.c... In file included from src/vidhrdw/harddriv_vidhrdw.c:7: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/harddriv_vidhrdw.c:348:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 348 | UINT32 *dest = (UINT32 *)&hdgsp_vram[offset * 16]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/harddriv_vidhrdw.c:376:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 376 | UINT32 *dest = (UINT32 *)&hdgsp_vram[offset * 8]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/vidhrdw/irobot_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/irobot_vidhrdw.c:239:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 239 | UINT16 *combase16 = (UINT16 *)irobot_combase; | ^~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/gauntlet.c... Compiling src/vidhrdw/atetris_vidhrdw.c... Compiling src/vidhrdw/gauntlet_vidhrdw.c... In file included from src/vidhrdw/atarisy2_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarisy2_vidhrdw.c:364:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 364 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/atarisy2_vidhrdw.c:369:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 369 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 6 warnings generated. Compiling src/drivers/atetris.c... In file included from src/drivers/irobot.c:77: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/atarisy2.c:126: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/toobin_vidhrdw.c... Compiling src/drivers/toobin.c... Compiling src/vidhrdw/vindictr_vidhrdw.c... Compiling src/drivers/vindictr.c... Compiling src/vidhrdw/klax_vidhrdw.c... In file included from src/vidhrdw/gauntlet_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/harddriv_sndhrdw.c:7: In file included from src/cpu/tms32010/tms32010.h:19: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/harddriv_sndhrdw.c:54:11: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 54 | comram = (UINT16 *)(memory_region(REGION_CPU1 + hdcpu_sounddsp) + 0x1000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/atetris_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/klax.c... In file included from src/vidhrdw/vindictr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/vindictr_vidhrdw.c:272:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 272 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 5 warnings generated. Compiling src/vidhrdw/blstroid_vidhrdw.c... In file included from src/drivers/atetris.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/blstroid.c... In file included from src/machine/harddriv_machine.c:7: In file included from src/machine/atarigen.h:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/harddriv_machine.c:199:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 199 | sim_memory = (data16_t *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/harddriv_machine.c:200:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 200 | som_memory = (data16_t *)memory_region(REGION_USER2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/harddriv_machine.c:202:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 202 | adsp_data_memory = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/harddriv_machine.c:203:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 203 | adsp_pgm_memory = (data32_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_PGM_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/harddriv_machine.c:204:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 204 | adsp_pgm_memory_word = (data16_t *)((UINT8 *)adsp_pgm_memory + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. In file included from src/vidhrdw/toobin_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xybots_vidhrdw.c... In file included from src/machine/irobot_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/irobot_machine.c:343:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 343 | d = ((UINT16 *)mbRAM)[ad & 0xfff]; /* MB RAM read */ | ^~~~~~~~~~~~~~~ src/machine/irobot_machine.c:345:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 345 | d = ((UINT16 *)mbROM)[ad + 0x2000]; /* MB ROM read, CEMATH = 1 */ | ^~~~~~~~~~~~~~~ src/machine/irobot_machine.c:347:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 347 | d = ((UINT16 *)mbROM)[ad & 0x1fff]; /* MB ROM read, CEMATH = 0 */ | ^~~~~~~~~~~~~~~ src/machine/irobot_machine.c:357:4: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 357 | ((UINT16 *)irobot_combase_mb)[irmb_latch & 0x7ff] = d; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/irobot_machine.c:365:5: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 365 | ((UINT16 *)mbRAM)[ad & 0xfff] = d; /* MB RAM write */ | ^~~~~~~~~~~~~~~ 9 warnings generated. In file included from src/drivers/gauntlet.c:121: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xybots.c... Compiling src/vidhrdw/eprom_vidhrdw.c... In file included from src/vidhrdw/klax_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/toobin.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/harddriv.c:170: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3562:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3562 | (data32_t *)(memory_region(REGION_CPU1 + hdcpu_sound) + ADSP2100_PGM_OFFSET)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3565:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 3565 | (data32_t *)(memory_region(REGION_CPU1 + hdcpu_sounddsp) + ADSP2100_PGM_OFFSET)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3649:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3649 | hddsk_ram = (data16_t *)(memory_region(REGION_USER3) + 0x40000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3654:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3654 | hddsk_zram = (data16_t *)(memory_region(REGION_USER3) + 0x50000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3663:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3663 | hddsk_rom = (data16_t *)(memory_region(REGION_USER3) + 0x00000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3688:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3688 | hddsk_ram = (data16_t *)(memory_region(REGION_USER3) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3692:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3692 | hddsk_rom = (data16_t *)(memory_region(REGION_USER3) + 0x000000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3934:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3934 | hdds3_speedup_addr = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET) + 0x1f99; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3964:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3964 | hdds3_speedup_addr = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET) + 0x1f99; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:3989:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3989 | hdds3_speedup_addr = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET) + 0x1f9a; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:478:29: warning: unused variable 'ds3snd_readmem' [-Wunused-const-variable] 478 | static MEMORY_READ16_START( ds3snd_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:561:78: note: expanded from macro 'MEMORY_READ16_START' 561 | #define MEMORY_READ16_START(name) MEMPORT_ARRAY_START(Memory_ReadAddress16, name, MEMPORT_DIRECTION_READ | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_16) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/harddriv.c:508:30: warning: unused variable 'ds3snd_writemem' [-Wunused-const-variable] 508 | static MEMORY_WRITE16_START( ds3snd_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:562:79: note: expanded from macro 'MEMORY_WRITE16_START' 562 | #define MEMORY_WRITE16_START(name) MEMPORT_ARRAY_START(Memory_WriteAddress16, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_16) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 16 warnings generated. Compiling src/drivers/eprom.c... Compiling src/vidhrdw/skullxbo_vidhrdw.c... In file included from src/drivers/klax.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/vindictr.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skullxbo.c... Compiling src/vidhrdw/badlands_vidhrdw.c... In file included from src/vidhrdw/blstroid_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/blstroid.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/badlands.c... In file included from src/vidhrdw/xybots_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/xybots_vidhrdw.c:153:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 153 | pf[x] = (mo[x] ^ 0x2f0) & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/xybots_vidhrdw.c:155:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 155 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/xybots_vidhrdw.c:161:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 161 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 7 warnings generated. In file included from src/vidhrdw/eprom_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/eprom_vidhrdw.c:299:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 299 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/eprom_vidhrdw.c:301:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 301 | pf[x] = mo[x] & ATARIMO_DATA_MASK & ~0x70; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/eprom_vidhrdw.c:372:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 372 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 7 warnings generated. Compiling src/vidhrdw/cyberbal_vidhrdw.c... In file included from src/drivers/xybots.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/eprom.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/cyberbal_sndhrdw.c... In file included from src/vidhrdw/skullxbo_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/skullxbo_vidhrdw.c:299:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 299 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 5 warnings generated. In file included from src/vidhrdw/badlands_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/badlands_vidhrdw.c:143:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 143 | if ((mo[x] & ATARIMO_PRIORITY_MASK) || !(pf[x] & 8)) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/badlands_vidhrdw.c:144:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 144 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 6 warnings generated. Compiling src/drivers/cyberbal.c... In file included from src/drivers/skullxbo.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rampart_vidhrdw.c... Compiling src/drivers/rampart.c... In file included from src/drivers/badlands.c:95: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shuuz_vidhrdw.c... Compiling src/drivers/shuuz.c... Compiling src/vidhrdw/atarig1_vidhrdw.c... In file included from src/sndhrdw/cyberbal_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/cyberbal_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarig1.c... Compiling src/vidhrdw/thunderj_vidhrdw.c... In file included from src/vidhrdw/shuuz_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/rampart_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/thunderj.c... In file included from src/drivers/rampart.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/cyberbal.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/batman.c... Compiling src/vidhrdw/batman_vidhrdw.c... In file included from src/vidhrdw/atarig1_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/shuuz.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/relief_vidhrdw.c... In file included from src/drivers/atarig1.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/relief.c... In file included from src/vidhrdw/thunderj_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/thunderj_vidhrdw.c:270:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 270 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 5 warnings generated. Compiling src/vidhrdw/offtwall_vidhrdw.c... In file included from src/drivers/batman.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/batman.c:123:6: warning: unused variable 'oldword' [-Wunused-variable] 123 | int oldword = latch_data; | ^~~~~~~ 5 warnings generated. Compiling src/drivers/offtwall.c... Compiling src/vidhrdw/arcadecl_vidhrdw.c... Compiling src/drivers/arcadecl.c... In file included from src/drivers/thunderj.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/thunderj.c:66:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 66 | rom_base[0] = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/thunderj.c:67:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 67 | rom_base[1] = (data16_t *)memory_region(REGION_CPU2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/vidhrdw/batman_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/batman_vidhrdw.c:331:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 331 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/batman_vidhrdw.c:335:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 335 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ src/vidhrdw/batman_vidhrdw.c:349:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 349 | pf[x] = mo[x] & ATARIMO_DATA_MASK; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' 26 | #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' 25 | #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 7 warnings generated. Compiling src/vidhrdw/beathead_vidhrdw.c... In file included from src/vidhrdw/relief_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/beathead.c... Compiling src/vidhrdw/atarig42_vidhrdw.c... In file included from src/drivers/relief.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarig42.c... In file included from src/drivers/arcadecl.c:69: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/offtwall_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/asic65.c... Compiling src/vidhrdw/atarigx2_vidhrdw.c... In file included from src/drivers/offtwall.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/beathead_vidhrdw.c:7: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/arcadecl_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarigx2.c... In file included from src/drivers/beathead.c:100: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/beathead.c:250:18: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 250 | COMBINE_DATA(&((data32_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/drivers/beathead.c:250:18: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 250 | COMBINE_DATA(&((data32_t *)generic_nvram)[offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ 6 warnings generated. Compiling src/vidhrdw/atarigt_vidhrdw.c... In file included from src/machine/asic65.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarigt.c... Compiling src/vidhrdw/jaguar_vidhrdw.c... Compiling src/sndhrdw/jaguar_sndhrdw.c... In file included from src/vidhrdw/atarig42_vidhrdw.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarig42_vidhrdw.c:264:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 264 | pf[x] = mo[x] & ATARIRLE_DATA_MASK; | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:24:31: note: expanded from macro 'ATARIRLE_DATA_MASK' 24 | #define ATARIRLE_DATA_MASK (ATARIRLE_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:23:38: note: expanded from macro 'ATARIRLE_PRIORITY_MASK' 23 | #define ATARIRLE_PRIORITY_MASK ((~0 << ATARIRLE_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 5 warnings generated. In file included from src/drivers/atarig42.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/atarig42.c:830:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 830 | *(data16_t *)&memory_region(REGION_CPU1)[0x80000] = 0x4E75; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/cojag.c... Compiling src/sndhrdw/cage_sndhrdw.c... In file included from src/vidhrdw/atarigx2_vidhrdw.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarigx2_vidhrdw.c:277:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 277 | pf[x] = mo[x] & ATARIRLE_DATA_MASK; | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:24:31: note: expanded from macro 'ATARIRLE_DATA_MASK' 24 | #define ATARIRLE_DATA_MASK (ATARIRLE_PRIORITY_MASK ^ 0xffff) | ^~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:23:38: note: expanded from macro 'ATARIRLE_PRIORITY_MASK' 23 | #define ATARIRLE_PRIORITY_MASK ((~0 << ATARIRLE_PRIORITY_SHIFT) & 0xffff) | ~~ ^ 5 warnings generated. Compiling src/vidhrdw/rockola_vidhrdw.c... Compiling src/sndhrdw/rockola_sndhrdw.c... In file included from src/vidhrdw/atarigt_vidhrdw.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rockola.c... Compiling src/vidhrdw/lasso_vidhrdw.c... In file included from src/drivers/atarigx2.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/rockola_sndhrdw.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lasso.c... In file included from src/sndhrdw/jaguar_sndhrdw.c:145: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/munchmo.c... In file included from src/drivers/cojag.c:54: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cojag.c:265:11: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 265 | return ((UINT32 *)generic_nvram)[offset] | 0xffffff00; | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cojag.c:267:11: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 267 | return ((UINT32 *)generic_nvram)[offset] | 0x00ffffff; | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cojag.c:282:5: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 282 | ((UINT32 *)generic_nvram)[offset] = data & 0x000000ff; | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cojag.c:284:5: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 284 | ((UINT32 *)generic_nvram)[offset] = data & 0xff000000; | ^~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. In file included from src/drivers/atarigt.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/rockola_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/munchmo_vidhrdw.c... Compiling src/vidhrdw/marvins_vidhrdw.c... In file included from src/sndhrdw/cage_sndhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jcross_vidhrdw.c... Compiling src/drivers/marvins.c... In file included from src/drivers/rockola.c:122: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jcross.c... In file included from src/drivers/lasso.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/lasso_vidhrdw.c:30: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/marvins_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/munchmo.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mainsnk_vidhrdw.c... In file included from src/vidhrdw/jcross_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/jaguar_vidhrdw.c:137: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/jaguar_vidhrdw.c:781: src/vidhrdw/jagobj.c:505:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 505 | data32_t *src = (data32_t *)get_jaguar_memory(data << 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/jagobj.c:658:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 658 | return (data32_t *)get_jaguar_memory(link << 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/jagobj.c:678:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 678 | data32_t *src = (data32_t *)get_jaguar_memory(data << 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/jagobj.c:831:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 831 | return (data32_t *)get_jaguar_memory(link << 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/jagobj.c:894:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 894 | return taken ? (data32_t *)get_jaguar_memory(link << 3) : (objdata + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/jagobj.c:931:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 931 | objdata = (data32_t *)get_jaguar_memory((gpu_regs[OLP_H] << 16) | gpu_regs[OLP_L]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. Compiling src/drivers/mainsnk.c... In file included from src/vidhrdw/munchmo_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hal21.c... In file included from src/drivers/jcross.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/marvins.c:27: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/snk_vidhrdw.c... In file included from src/vidhrdw/mainsnk_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/snk.c... In file included from src/drivers/mainsnk.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/mainsnk.c:31:13: warning: unused function 'init_sound' [-Wunused-function] 31 | static void init_sound( int busy_bit ) | ^~~~~~~~~~ 5 warnings generated. Compiling src/drivers/sgladiat.c... In file included from src/drivers/hal21.c:54: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/hal21.c:240:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 240 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^~~~~~~~~~~~~~~ src/drivers/hal21.c:240:33: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 240 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^~~~~~~~~~~~~~~ src/drivers/hal21.c:304:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 304 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^~~~~~~~~~~~~~~ src/drivers/hal21.c:304:33: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 304 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^~~~~~~~~~~~~~~ src/drivers/hal21.c:122:22: warning: unused function 'hal21_videoram_r' [-Wunused-function] 122 | static READ_HANDLER( hal21_videoram_r ){ return videoram[offset]; } | ^~~~~~~~~~~~~~~~ src/memory.h:126:39: note: expanded from macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ 9 warnings generated. Compiling src/drivers/snk68.c... Compiling src/vidhrdw/snk68_vidhrdw.c... Compiling src/vidhrdw/prehisle_vidhrdw.c... Compiling src/drivers/prehisle.c... In file included from src/vidhrdw/snk_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:205:7: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 205 | if(*(UINT32*)(spriteram+offs) == 0 || *(UINT32*)(spriteram+offs) == -1) continue; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:205:42: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 205 | if(*(UINT32*)(spriteram+offs) == 0 || *(UINT32*)(spriteram+offs) == -1) continue; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:343:7: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 343 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:343:40: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 343 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:485:7: warning: cast from 'const unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 485 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:485:40: warning: cast from 'const unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 485 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:36:13: warning: unused function 'print' [-Wunused-function] 36 | static void print( struct mame_bitmap *bitmap, int num, int row ) | ^~~~~ 11 warnings generated. Compiling src/vidhrdw/bbusters_vidhrdw.c... In file included from src/drivers/sgladiat.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bbusters.c... Compiling src/drivers/shougi.c... In file included from src/vidhrdw/snk68_vidhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/snk.c:218: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/snk.c:305:6: warning: unused variable 'joypos16' [-Wunused-variable] 305 | int joypos16 = value>>4; | ^~~~~~~~ src/drivers/snk.c:353:12: warning: unused variable 'dial_12' [-Wunused-variable] 353 | const int dial_12[13] = { | ^~~~~~~ src/drivers/snk.c:364:6: warning: unused variable 'joypos16' [-Wunused-variable] 364 | int joypos16 = value>>4; | ^~~~~~~~ 7 warnings generated. In file included from src/vidhrdw/prehisle_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/snk68.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/equites_machine.c... In file included from src/vidhrdw/bbusters_vidhrdw.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/prehisle.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/equites_vidhrdw.c... Compiling src/vidhrdw/alpha68k_vidhrdw.c... Compiling src/drivers/equites.c... Compiling src/drivers/alpha68k.c... In file included from src/drivers/shougi.c:94: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/bbusters.c:178: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/champbas_vidhrdw.c... Compiling src/drivers/champbas.c... Compiling src/machine/exctsccr_machine.c... Compiling src/vidhrdw/exctsccr_vidhrdw.c... In file included from src/machine/equites_machine.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/equites_machine.c:246:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'struct MRULELIST *' increases required alignment from 1 to 8 [-Wcast-align] 246 | mrulemap = (struct MRULELIST *)byte_ptr; /* pointer table to rule lists*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/equites_machine.c:247:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'struct MRULE *' increases required alignment from 1 to 8 [-Wcast-align] 247 | mrulepool = (struct MRULE *)(byte_ptr + 0x4000); /* rules pool*/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/tagteam_vidhrdw.c... Compiling src/drivers/scregg.c... Compiling src/drivers/exctsccr.c... Compiling src/drivers/tagteam.c... In file included from src/drivers/alpha68k.c:169: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/alpha68k.c:3017:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3017 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/champbas.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/equites.c:132: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/equites_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/equites_vidhrdw.c:49:9: warning: variable 'colortable' set but not used [-Wunused-but-set-variable] 49 | pen_t *colortable; | ^ src/vidhrdw/equites_vidhrdw.c:255:13: warning: cast from 'unsigned char *' to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 255 | charram0 = (data16_t*)buf8ptr; | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/equites_vidhrdw.c:256:13: warning: cast from 'unsigned char *' to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 256 | charram1 = (data16_t*)(buf8ptr + videoram_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/vidhrdw/ssozumo_vidhrdw.c... In file included from src/vidhrdw/alpha68k_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ssozumo.c... In file included from src/vidhrdw/exctsccr_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mystston_vidhrdw.c... In file included from src/vidhrdw/champbas_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tagteam.c:27: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/exctsccr_machine.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/scregg.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ssozumo_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mystston.c... In file included from src/vidhrdw/tagteam_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dogfgt_vidhrdw.c... In file included from src/drivers/exctsccr.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dogfgt.c... In file included from src/vidhrdw/mystston_vidhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bogeyman_vidhrdw.c... Compiling src/drivers/bogeyman.c... Compiling src/vidhrdw/matmania_vidhrdw.c... In file included from src/drivers/ssozumo.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/maniach.c... Compiling src/vidhrdw/renegade_vidhrdw.c... Compiling src/drivers/matmania.c... Compiling src/drivers/renegade.c... In file included from src/drivers/mystston.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/dogfgt.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xain_vidhrdw.c... Compiling src/drivers/xain.c... Compiling src/vidhrdw/battlane_vidhrdw.c... In file included from src/vidhrdw/dogfgt_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/renegade.c:102: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/bogeyman_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/battlane.c... Compiling src/vidhrdw/ddragon_vidhrdw.c... In file included from src/vidhrdw/matmania_vidhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/bogeyman.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/maniach.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/renegade_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ddragon.c... Compiling src/drivers/chinagat.c... Compiling src/vidhrdw/spdodgeb_vidhrdw.c... Compiling src/drivers/spdodgeb.c... In file included from src/vidhrdw/xain_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/matmania.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/battlane_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/xain.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wwfsstar_vidhrdw.c... Compiling src/drivers/wwfsstar.c... Compiling src/vidhrdw/vball_vidhrdw.c... In file included from src/vidhrdw/ddragon_vidhrdw.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/spdodgeb_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/battlane.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vball.c... Compiling src/vidhrdw/blockout_vidhrdw.c... Compiling src/drivers/blockout.c... Compiling src/vidhrdw/ddragon3_vidhrdw.c... Compiling src/drivers/ddragon3.c... Compiling src/vidhrdw/wwfwfest_vidhrdw.c... In file included from src/vidhrdw/vball_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wwfwfest.c... In file included from src/drivers/spdodgeb.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/wwfsstar_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ddragon.c:67: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/wwfsstar.c:61: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shadfrce_vidhrdw.c... In file included from src/drivers/chinagat.c:71: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shadfrce.c... In file included from src/vidhrdw/wwfwfest_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/berzerk_machine.c... Compiling src/vidhrdw/berzerk_vidhrdw.c... In file included from src/drivers/vball.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ddragon3_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/wwfwfest.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/berzerk_sndhrdw.c... Compiling src/drivers/berzerk.c... In file included from src/vidhrdw/blockout_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/berzerk_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/blockout.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ddragon3.c:27: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mazerbla.c... Compiling src/drivers/supdrapo.c... Compiling src/drivers/toratora.c... In file included from src/machine/berzerk_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/shadfrce.c:78: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gameplan_vidhrdw.c... In file included from src/vidhrdw/shadfrce_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gameplan.c... In file included from src/sndhrdw/berzerk_sndhrdw.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/zac2650_vidhrdw.c... In file included from src/drivers/berzerk.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/zac2650.c... Compiling src/vidhrdw/zaccaria_vidhrdw.c... Compiling src/drivers/zaccaria.c... In file included from src/drivers/mazerbla.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/mazerbla.c:276:9: warning: variable 'color_base' set but not used [-Wunused-but-set-variable] 276 | UINT32 color_base=0; | ^ 5 warnings generated. Compiling src/vidhrdw/mouser_vidhrdw.c... Compiling src/drivers/mouser.c... In file included from src/vidhrdw/zac2650_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/supdrapo.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gameplan_vidhrdw.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/toratora.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nova2001.c... Compiling src/vidhrdw/nova2001_vidhrdw.c... In file included from src/vidhrdw/zaccaria_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gameplan.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/zac2650.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ninjakid_vidhrdw.c... In file included from src/drivers/mouser.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ninjakid.c... In file included from src/vidhrdw/mouser_vidhrdw.c:16: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/nova2001.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/raiders5_vidhrdw.c... In file included from src/vidhrdw/nova2001_vidhrdw.c:35: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/zaccaria.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ninjakid_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/ninjakid_vidhrdw.c:166:5: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 166 | ninjakun_xscroll = data; | ^ src/vidhrdw/ninjakid_vidhrdw.c:164:4: note: previous statement is here 164 | else | ^ 5 warnings generated. Compiling src/drivers/raiders5.c... Compiling src/vidhrdw/pkunwar_vidhrdw.c... Compiling src/vidhrdw/xxmissio_vidhrdw.c... Compiling src/drivers/xxmissio.c... Compiling src/drivers/pkunwar.c... In file included from src/drivers/ninjakid.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/raiders5_vidhrdw.c:11: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ninjakd2_vidhrdw.c... In file included from src/vidhrdw/pkunwar_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/raiders5.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ninjakd2.c... Compiling src/vidhrdw/mnight_vidhrdw.c... In file included from src/vidhrdw/ninjakd2_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/xxmissio_vidhrdw.c:11: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/xxmissio.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mnight.c... Compiling src/vidhrdw/omegaf_vidhrdw.c... In file included from src/drivers/pkunwar.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/omegaf.c... Compiling src/vidhrdw/nmk16_vidhrdw.c... Compiling src/machine/nmk004.c... In file included from src/drivers/mnight.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mnight_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ninjakd2.c:224: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nmk16.c... Compiling src/drivers/jalmah.c... In file included from src/drivers/omegaf.c:45: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/quizpani.c... Compiling src/vidhrdw/quizpani_vidhrdw.c... In file included from src/vidhrdw/omegaf_vidhrdw.c:69: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/nmk16_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/nmk16_vidhrdw.c:650:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 650 | data16_t *tilerom = (data16_t *)memory_region(REGION_GFX5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/nmk16_vidhrdw.c:81:13: warning: unused function 'get_tile_info_0_8bit' [-Wunused-function] 81 | static void get_tile_info_0_8bit(int tile_index) | ^~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/macrossp.c... In file included from src/drivers/jalmah.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/macrossp_vidhrdw.c... Compiling src/vidhrdw/quizdna_vidhrdw.c... In file included from src/machine/nmk004.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/nmk004.c:102:5: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | res = 0; | ^ | int 5 warnings generated. Compiling src/drivers/quizdna.c... In file included from src/drivers/nmk16.c:137: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c:5052:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 5052 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c:5063:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 5063 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c:5073:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 5073 | data16_t *ROM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c:5084:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 5084 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c:430:28: warning: unused variable 'tharrier_sound_writemem' [-Wunused-const-variable] 430 | static MEMORY_WRITE_START( tharrier_sound_writemem ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:560:77: note: expanded from macro 'MEMORY_WRITE_START' 560 | #define MEMORY_WRITE_START(name) MEMPORT_ARRAY_START(Memory_WriteAddress, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/nmk16.c:3146:31: warning: unused variable 'ym2151_interface' [-Wunused-variable] 3146 | static struct YM2151interface ym2151_interface = | ^~~~~~~~~~~~~~~~ 10 warnings generated. Compiling src/vidhrdw/jack_vidhrdw.c... Compiling src/drivers/jack.c... In file included from src/vidhrdw/quizdna_vidhrdw.c:12: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/quizpani.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/embargo.c... Compiling src/sndhrdw/cinemat_sndhrdw.c... In file included from src/vidhrdw/quizpani_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/cchasm_machine.c... Compiling src/vidhrdw/cchasm_vidhrdw.c... Compiling src/drivers/cinemat.c... In file included from src/drivers/jack.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/cchasm_sndhrdw.c... In file included from src/drivers/macrossp.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/macrossp_vidhrdw.c:4: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cchasm.c... Compiling src/vidhrdw/thepit_vidhrdw.c... In file included from src/vidhrdw/jack_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/cinemat_sndhrdw.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/embargo.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/cchasm_machine.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/thepit.c... In file included from src/sndhrdw/cchasm_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/cchasm_sndhrdw.c:85:16: warning: variable 'led' set but not used [-Wunused-but-set-variable] 85 | static int led; | ^ 5 warnings generated. Compiling src/drivers/timelimt.c... Compiling src/vidhrdw/timelimt_vidhrdw.c... In file included from src/vidhrdw/cchasm_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/bagman_machine.c... In file included from src/drivers/cinemat.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/quizdna.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/thepit.c:58: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bagman_vidhrdw.c... Compiling src/drivers/bagman.c... In file included from src/drivers/cchasm.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tankbust_vidhrdw.c... Compiling src/drivers/tankbust.c... Compiling src/vidhrdw/wiz_vidhrdw.c... Compiling src/drivers/wiz.c... In file included from src/vidhrdw/timelimt_vidhrdw.c:1: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/tankbust_vidhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kncljoe.c... Compiling src/machine/stfight_machine.c... Compiling src/vidhrdw/kncljoe_vidhrdw.c... In file included from src/vidhrdw/thepit_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/timelimt.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/timelimt.c:43:23: warning: unused function 'sound_reset_w' [-Wunused-function] 43 | static WRITE_HANDLER( sound_reset_w ) | ^~~~~~~~~~~~~ src/memory.h:127:39: note: expanded from macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^~~~ 5 warnings generated. In file included from src/machine/bagman_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tankbust.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/stfight_vidhrdw.c... In file included from src/drivers/bagman.c:59: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/stfight.c... Compiling src/drivers/cshooter.c... In file included from src/vidhrdw/bagman_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/seibu.c... In file included from src/vidhrdw/wiz_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/deadang_vidhrdw.c... In file included from src/vidhrdw/kncljoe_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/deadang.c... Compiling src/vidhrdw/dynduke_vidhrdw.c... In file included from src/drivers/wiz.c:160: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/kncljoe.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dynduke.c... In file included from src/machine/stfight_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/raiden_vidhrdw.c... In file included from src/drivers/cshooter.c:82: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/deadang.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/stfight_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/raiden.c... In file included from src/vidhrdw/deadang_vidhrdw.c:1: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/stfight.c:231: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dcon_vidhrdw.c... Compiling src/drivers/raiden2.c... In file included from src/sndhrdw/seibu.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/dynduke_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/dynduke_vidhrdw.c:164:33: warning: result of comparison of constant 3855 with expression of type 'data8_t' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] 164 | if (buffered_spriteram[offs+0]==0xf0f) continue; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~ 5 warnings generated. Compiling src/drivers/dcon.c... Compiling src/drivers/sengokmj.c... Compiling src/vidhrdw/sengokmj_vidhrdw.c... Compiling src/sndhrdw/t5182.c... In file included from src/drivers/dynduke.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mustache_vidhrdw.c... In file included from src/vidhrdw/raiden_vidhrdw.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/raiden_vidhrdw.c:137:33: warning: result of comparison of constant 3855 with expression of type 'data8_t' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] 137 | if (buffered_spriteram[offs+0]==0xf0f) continue; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~ 5 warnings generated. Compiling src/drivers/mustache.c... In file included from src/vidhrdw/dcon_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/raiden.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cabal_vidhrdw.c... Compiling src/drivers/cabal.c... Compiling src/vidhrdw/darkmist_vidhrdw.c... Compiling src/drivers/darkmist.c... In file included from src/sndhrdw/t5182.c:118: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/t5182.c:320:5: warning: passing 'const struct YM2151interface *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 320 | MDRV_SOUND_ADD(YM2151, t5182_ym2151_interface) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:250:2: note: expanded from macro 'MDRV_SOUND_ADD' 250 | MDRV_SOUND_ADD_TAG(NULL, type, interface) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:247:50: note: expanded from macro 'MDRV_SOUND_ADD_TAG' 247 | machine_add_sound(machine, (tag), SOUND_##type, &(interface)); \ | ^~~~~~~~~~~~ src/driver.h:270:112: note: passing argument to parameter 'sndintf' here 270 | struct MachineSound *machine_add_sound(struct InternalMachineDriver *machine, const char *tag, int type, void *sndintf); | ^ 5 warnings generated. Compiling src/vidhrdw/toki_vidhrdw.c... In file included from src/drivers/sengokmj.c:73: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/toki.c... In file included from src/vidhrdw/mustache_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/dcon.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/dcon.c:411:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 411 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/cabal.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/raiden2.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bloodbro_vidhrdw.c... In file included from src/vidhrdw/darkmist_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bloodbro.c... Compiling src/vidhrdw/legionna_vidhrdw.c... In file included from src/vidhrdw/cabal_vidhrdw.c:9: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sengokmj_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/darkmist.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/legionna.c... In file included from src/vidhrdw/bloodbro_vidhrdw.c:7: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/goal92_vidhrdw.c... Compiling src/drivers/goal92.c... In file included from src/drivers/toki.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mustache.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/exerion_vidhrdw.c... In file included from src/vidhrdw/toki_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fcombat.c... Compiling src/drivers/exerion.c... Compiling src/vidhrdw/aeroboto_vidhrdw.c... In file included from src/vidhrdw/legionna_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aeroboto.c... Compiling src/vidhrdw/citycon_vidhrdw.c... Compiling src/drivers/citycon.c... Compiling src/vidhrdw/momoko_vidhrdw.c... Compiling src/vidhrdw/argus_vidhrdw.c... Compiling src/drivers/momoko.c... Compiling src/drivers/argus.c... In file included from src/drivers/bloodbro.c:94: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/goal92.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/aeroboto.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/legionna.c:63: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/psychic5_vidhrdw.c... In file included from src/vidhrdw/goal92_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/fcombat.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/psychic5.c... In file included from src/vidhrdw/citycon_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/citycon.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ginganin_vidhrdw.c... In file included from src/vidhrdw/aeroboto_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ginganin.c... In file included from src/drivers/exerion.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/argus.c:86: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/momoko_vidhrdw.c:11: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skyfox.c... Compiling src/vidhrdw/homerun_vidhrdw.c... Compiling src/vidhrdw/skyfox_vidhrdw.c... In file included from src/drivers/momoko.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/psychic5.c:312: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/exerion_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/homerun.c... In file included from src/vidhrdw/psychic5_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cischeat_vidhrdw.c... In file included from src/vidhrdw/ginganin_vidhrdw.c:59: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/argus_vidhrdw.c:117: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cischeat.c... In file included from src/drivers/ginganin.c:51: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/ginganin.c:448:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 448 | rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/tetrisp2_vidhrdw.c... In file included from src/drivers/skyfox.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/skyfox_vidhrdw.c:37: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tetrisp2.c... In file included from src/vidhrdw/cischeat_vidhrdw.c:56: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/homerun.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/megasys1_vidhrdw.c... In file included from src/vidhrdw/homerun_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/megasys1.c... Compiling src/vidhrdw/ms32_vidhrdw.c... In file included from src/drivers/tetrisp2.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tetrisp2.c:46:14: warning: unused variable 'rockn_timer_sub_l4' [-Wunused-variable] 46 | static void *rockn_timer_sub_l4; | ^~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/cischeat.c:152: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c:1842:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1842 | rom_1 = (data16_t *) memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c:1964:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1964 | rom_1 = (data16_t *) (memory_region(REGION_USER1) + 0x00000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c:1965:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1965 | rom_2 = (data16_t *) (memory_region(REGION_CPU2) + 0x40000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c:1966:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1966 | rom_3 = (data16_t *) (memory_region(REGION_CPU3) + 0x40000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c:1970:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1970 | rom_2 = (data16_t *) (memory_region(REGION_USER1) + 0x80000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c:1974:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1974 | rom_3 = (data16_t *) (memory_region(REGION_USER1) + 0xc0000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c:2191:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2191 | rom_1 = (data16_t *) memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. In file included from src/vidhrdw/tetrisp2_vidhrdw.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ms32.c... Compiling src/vidhrdw/bigstrkb_vidhrdw.c... Compiling src/vidhrdw/rpunch_vidhrdw.c... Compiling src/drivers/bigstrkb.c... Compiling src/drivers/rpunch.c... Compiling src/vidhrdw/tail2nos_vidhrdw.c... In file included from src/drivers/bigstrkb.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/megasys1_vidhrdw.c:194: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tail2nos.c... In file included from src/drivers/megasys1.c:118: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3352:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3352 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1+cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3386:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3386 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1+cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3420:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3420 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1+cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3536:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3536 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3597:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3597 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3607:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3607 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3627:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3627 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3659:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3659 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3691:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3691 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. Compiling src/vidhrdw/ojankohs_vidhrdw.c... Compiling src/drivers/ojankohs.c... In file included from src/vidhrdw/bigstrkb_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/rpunch.c:107: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/rpunch_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fromance_vidhrdw.c... In file included from src/vidhrdw/ms32_vidhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fromance.c... In file included from src/vidhrdw/tail2nos_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tail2nos_vidhrdw.c:72:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 72 | zoomdata = (data16_t *)memory_region(REGION_GFX3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/pipedrm.c... In file included from src/vidhrdw/ojankohs_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ms32.c:167: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/ms32.c:2295:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2295 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/ms32.c:2304:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2304 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/drivers/tail2nos.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/aerofgt_vidhrdw.c... In file included from src/drivers/ojankohs.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aerofgt.c... Compiling src/vidhrdw/welltris_vidhrdw.c... In file included from src/vidhrdw/fromance_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/fromance.c:42: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pipedrm.c:106: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/f1gp_vidhrdw.c... Compiling src/drivers/f1gp.c... Compiling src/drivers/welltris.c... In file included from src/drivers/aerofgt.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/taotaido.c... Compiling src/vidhrdw/taotaido_vidhrdw.c... In file included from src/vidhrdw/f1gp_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/f1gp_vidhrdw.c:72:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 72 | zoomdata = (data16_t *)memory_region(REGION_GFX4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/f1gp_vidhrdw.c:98:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 98 | zoomdata = (data16_t *)memory_region(REGION_GFX4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/f1gp_vidhrdw.c:205:59: 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; | ^ 7 warnings generated. Compiling src/vidhrdw/crshrace_vidhrdw.c... In file included from src/vidhrdw/aerofgt_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/aerofgt_vidhrdw.c:145:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 145 | aerofgt_spriteram2 = (data16_t *)memory_region(REGION_GFX5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/aerofgt_vidhrdw.c:390:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 390 | if (!chip_disabled_pri & (pri>>4)) continue; | ^ ~ src/vidhrdw/aerofgt_vidhrdw.c:390:7: note: add parentheses after the '!' to evaluate the bitwise operator first 390 | if (!chip_disabled_pri & (pri>>4)) continue; | ^ | ( ) src/vidhrdw/aerofgt_vidhrdw.c:390:7: note: add parentheses around left hand side expression to silence this warning 390 | if (!chip_disabled_pri & (pri>>4)) continue; | ^ | ( ) src/vidhrdw/aerofgt_vidhrdw.c:466:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 466 | if (!chip_disabled_pri & (pri>>4)) continue; | ^ ~ src/vidhrdw/aerofgt_vidhrdw.c:466:7: note: add parentheses after the '!' to evaluate the bitwise operator first 466 | if (!chip_disabled_pri & (pri>>4)) continue; | ^ | ( ) src/vidhrdw/aerofgt_vidhrdw.c:466:7: note: add parentheses around left hand side expression to silence this warning 466 | if (!chip_disabled_pri & (pri>>4)) continue; | ^ | ( ) 7 warnings generated. Compiling src/drivers/crshrace.c... In file included from src/vidhrdw/welltris_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gstriker_vidhrdw.c... In file included from src/drivers/f1gp.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gstriker.c... In file included from src/drivers/welltris.c:315: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suprslam_vidhrdw.c... In file included from src/drivers/taotaido.c:66: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/crshrace_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/taotaido_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/taotaido_vidhrdw.c:162:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 162 | tilemap_mark_all_tiles_dirty(bg_tilemap); | ^ src/vidhrdw/taotaido_vidhrdw.c:160:4: note: previous statement is here 160 | if(ACCESSING_LSB) | ^ 5 warnings generated. Compiling src/drivers/suprslam.c... Compiling src/vidhrdw/fromanc2_vidhrdw.c... In file included from src/drivers/crshrace.c:126: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/crshrace.c:733:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 733 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/gstriker_vidhrdw.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gstriker.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fromanc2.c... Compiling src/drivers/inufuku.c... Compiling src/vidhrdw/inufuku_vidhrdw.c... In file included from src/vidhrdw/fromanc2_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/suprslam.c:83: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/psikyo_vidhrdw.c... In file included from src/vidhrdw/suprslam_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/psikyo.c... In file included from src/drivers/inufuku.c:70: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/psikyosh_vidhrdw.c... In file included from src/drivers/fromanc2.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/psikyosh.c... Compiling src/vidhrdw/psikyo4_vidhrdw.c... In file included from src/drivers/psikyo.c:63: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/psikyo4.c... In file included from src/vidhrdw/inufuku_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/psikyo_vidhrdw.c:57: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/8254pit.c... Compiling src/drivers/leland.c... Compiling src/vidhrdw/leland_vidhrdw.c... Compiling src/machine/leland_machine.c... In file included from src/drivers/psikyosh.c:121: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/leland_sndhrdw.c... Compiling src/drivers/ataxx.c... In file included from src/vidhrdw/psikyo4_vidhrdw.c:29: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/marineb_vidhrdw.c... Compiling src/drivers/marineb.c... In file included from src/vidhrdw/psikyosh_vidhrdw.c:92: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/funkybee_vidhrdw.c... In file included from src/drivers/leland.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/8254pit.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/funkybee.c... Compiling src/vidhrdw/zodiack_vidhrdw.c... In file included from src/drivers/psikyo4.c:60: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/marineb_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/zodiack.c... In file included from src/drivers/ataxx.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/leland_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/funkybee.c:46: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/leland_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/leland_sndhrdw.c:80: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/leland_sndhrdw.c:1561:24: warning: variable 'ctr' set but not used [-Wunused-but-set-variable] 1561 | struct counter_state *ctr; | ^ 5 warnings generated. Compiling src/vidhrdw/espial_vidhrdw.c... Compiling src/vidhrdw/vastar_vidhrdw.c... Compiling src/drivers/espial.c... In file included from src/drivers/marineb.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vastar.c... In file included from src/vidhrdw/espial_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/zodiack_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xorworld_vidhrdw.c... In file included from src/drivers/zodiack.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/zodiack.c:542:8: warning: unused function 'construct_moguchan' [-Wunused-function] 542 | static MACHINE_DRIVER_START( moguchan ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~~~~~~~ :56:1: note: expanded from here 56 | construct_moguchan | ^~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/splash.c... Compiling src/vidhrdw/splash_vidhrdw.c... In file included from src/vidhrdw/funkybee_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/thoop2_vidhrdw.c... Compiling src/drivers/xorworld.c... In file included from src/drivers/espial.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/vastar_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/thoop2.c... Compiling src/vidhrdw/gaelco_vidhrdw.c... In file included from src/drivers/vastar.c:64: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/splash.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/thoop2_vidhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gaelco.c... In file included from src/drivers/xorworld.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/xorworld.c:74:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 74 | data16_t *rom = (data16_t *)(memory_region(REGION_CPU1) + 0x1390); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/machine/wrally_machine.c... In file included from src/vidhrdw/xorworld_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wrally_vidhrdw.c... Compiling src/vidhrdw/targeth_vidhrdw.c... Compiling src/drivers/wrally.c... Compiling src/drivers/targeth.c... In file included from src/drivers/thoop2.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/splash_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/gaelco2_machine.c... Compiling src/vidhrdw/gaelco2_vidhrdw.c... Compiling src/drivers/gaelco2.c... In file included from src/vidhrdw/gaelco_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/wrally.c:79: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/targeth_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/targeth.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/glass_vidhrdw.c... In file included from src/vidhrdw/wrally_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/wrally_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/glass.c... Compiling src/vidhrdw/airbustr_vidhrdw.c... Compiling src/drivers/airbustr.c... In file included from src/drivers/gaelco.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/djboy_vidhrdw.c... Compiling src/vidhrdw/galpanic_vidhrdw.c... Compiling src/drivers/djboy.c... Compiling src/drivers/galpanic.c... In file included from src/machine/gaelco2_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gaelco2.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/galpani2_vidhrdw.c... In file included from src/vidhrdw/gaelco2_vidhrdw.c:79: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/glass_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/galpanic_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galpani2.c... In file included from src/vidhrdw/airbustr_vidhrdw.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jchan.c... Compiling src/vidhrdw/kaneko16_vidhrdw.c... In file included from src/drivers/airbustr.c:188: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/galpanic.c:95: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/djboy_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/glass.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kaneko16.c... Compiling src/vidhrdw/suprnova_vidhrdw.c... Compiling src/drivers/suprnova.c... Compiling src/machine/pd4990a.c... In file included from src/vidhrdw/galpani2_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/jchan.c:152: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/neocrypt.c... Compiling src/machine/neogeo_machine.c... Compiling src/vidhrdw/neogeo_vidhrdw.c... In file included from src/drivers/galpani2.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/galpani2.c:288:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 288 | data16_t *ROM = (data16_t *) memory_region( REGION_USER1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/djboy.c:156: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/kaneko16_vidhrdw.c:45: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/hanaawas_vidhrdw.c... In file included from src/vidhrdw/suprnova_vidhrdw.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/suprnova_vidhrdw.c:290:40: warning: variable 'pri' set but not used [-Wunused-but-set-variable] 290 | int xsize,ysize, size, xpos=0,ypos=0, pri=0, romoffset, colour=0, xflip,yflip, joint; | ^ 5 warnings generated. Compiling src/drivers/neogeo.c... Compiling src/drivers/hanaawas.c... In file included from src/machine/neogeo_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c:109:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 109 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c:196:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 196 | mem16 = (data16_t *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c:109:12: warning: variable 'mem16' set but not used [-Wunused-but-set-variable] 109 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^ src/machine/neogeo_machine.c:640:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 640 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c:653:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 653 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c:666:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 666 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c:674:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 674 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. Compiling src/vidhrdw/speedatk_vidhrdw.c... In file included from src/drivers/suprnova.c:176: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/suprnova.c:784:27: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 784 | int use_bright, r, g, b, alpha; | ^ src/drivers/suprnova.c:898:48: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 898 | int brightness_r, brightness_g, brightness_b, alpha; | ^ 6 warnings generated. Compiling src/vidhrdw/srmp2_vidhrdw.c... Compiling src/drivers/speedatk.c... In file included from src/drivers/kaneko16.c:63: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/kaneko16.c:1270:14: warning: declaration shadows a local variable [-Wshadow] 1270 | UINT32 length;/*, size;*/ | ^ src/drivers/kaneko16.c:1184:9: note: previous declaration is here 1184 | UINT16 length; | ^ src/drivers/kaneko16.c:1273:46: warning: passing 'UINT32 *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1273 | dat = (UINT8 *)EEPROM_get_data_pointer(&length); | ^~~~~~~ src/machine/eeprom.h:30:39: note: passing argument to parameter 'length' here 30 | UINT8 * EEPROM_get_data_pointer(int * length); | ^ src/drivers/kaneko16.c:1492:7: warning: variable 'length' set but not used [-Wunused-but-set-variable] 1492 | int length; | ^ src/drivers/kaneko16.c:1542:44: warning: passing 'UINT32 *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1542 | dat = (UINT8 *)EEPROM_get_data_pointer(&length); | ^~~~~~~ src/machine/eeprom.h:30:39: note: passing argument to parameter 'length' here 30 | UINT8 * EEPROM_get_data_pointer(int * length); | ^ src/drivers/kaneko16.c:1556:8: warning: declaration shadows a local variable [-Wshadow] 1556 | int i; | ^ src/drivers/kaneko16.c:1505:6: note: previous declaration is here 1505 | int i; | ^ src/drivers/kaneko16.c:2008:59: warning: declaration shadows a variable in the global scope [-Wshadow] 2008 | void toxboy_handle_04_subcommand(UINT8 mcu_subcmd, UINT16*mcu_ram) | ^ src/drivers/kaneko16.c:72:18: note: previous declaration is here 72 | static data16_t *mcu_ram, gtmr_mcu_com[4], *kaneko16_mainram; | ^ src/drivers/kaneko16.c:3406:35: warning: bitwise comparison always evaluates to false [-Wtautological-bitwise-compare] 3406 | if ( (readinputport(4) & 0x1800) == 0x10) /* DSW setting*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 11 warnings generated. Compiling src/drivers/srmp2.c... In file included from src/machine/pd4990a.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pd4990a.c:66:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | void pd4990a_addretrace() | ^ | void 5 warnings generated. In file included from src/vidhrdw/hanaawas_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/neogeo_vidhrdw.c:52: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/seta_vidhrdw.c... In file included from src/drivers/hanaawas.c:32: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/seta2_vidhrdw.c... Compiling src/drivers/seta.c... In file included from src/drivers/speedatk.c:77: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ssv_vidhrdw.c... In file included from src/vidhrdw/speedatk_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/seta2.c... In file included from src/vidhrdw/seta_vidhrdw.c:138: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/neocrypt.c:59: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:776:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 776 | UINT16 *rom = (UINT16 *)memory_region(REGION_SOUND1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:868:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 868 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1065:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1065 | UINT16 *mem16 = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1238:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1238 | UINT16 *prom = (UINT16*)memory_region( REGION_CPU1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1292:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1292 | ((UINT16*)src)[0x0124/2] = 0x000d; /* Enables XOR for RAM moves, forces SoftDIPs, and USA region */ | ^~~~~~~~~~~~ src/machine/neocrypt.c:1293:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1293 | ((UINT16*)src)[0x0126/2] = 0xf7a8; | ^~~~~~~~~~~~ src/machine/neocrypt.c:1295:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1295 | ((UINT16*)src)[0x8bf4/2] = 0x4ef9; /* Run code to change "S" data */ | ^~~~~~~~~~~~ src/machine/neocrypt.c:1296:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1296 | ((UINT16*)src)[0x8bf6/2] = 0x000d; | ^~~~~~~~~~~~ src/machine/neocrypt.c:1297:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1297 | ((UINT16*)src)[0x8bf8/2] = 0xf980; | ^~~~~~~~~~~~ src/machine/neocrypt.c:1312:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1312 | UINT16 *rom = (UINT16*)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1314:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1314 | UINT16 *buf = (UINT16*)memory_region(REGION_USER4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1415:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1415 | UINT16 *rom16 = (UINT16*)&rom[i + 1]; | ^~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1549:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1549 | UINT16*rom = (UINT16*)memory_region( REGION_CPU1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1605:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1605 | rom = (UINT16 *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1624:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1624 | rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1675:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1675 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1683:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1683 | rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1690:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1690 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1752:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1752 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1760:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1760 | rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1767:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1767 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1831:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1831 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1839:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1839 | rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1846:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1846 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1907:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1907 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:1926:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1926 | rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2021:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2021 | UINT16* mem16 = (UINT16*)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2216:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2216 | UINT16 *rom16 = (UINT16*)&rom[ i + 1 ]; | ^~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2294:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2294 | UINT16 *rom16 = (UINT16*)&rom[ i + 1 ]; | ^~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2328:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2328 | UINT32 *rom32 = (UINT32*)&rom[ i ]; | ^~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2394:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2394 | UINT16*src= (UINT16*)memory_region( REGION_USER1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2446:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2446 | UINT16 *rom16 = (UINT16*)&rom[ i + 1 ]; | ^~~~~~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2520:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 2520 | UINT32 *rom32 = (UINT32*)&rom[ i ]; | ^~~~~~~~~~~~~~~~~~ src/machine/neocrypt.c:2628:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2628 | UINT16 *mem16 = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 warnings generated. In file included from src/vidhrdw/srmp2_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ssv.c... In file included from src/drivers/srmp2.c:58: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/srmp2.c:105:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 105 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/srmp2.c:477:14: warning: variable 'qqq01' set but not used [-Wunused-but-set-variable] 477 | static int qqq01 = 0; | ^ src/drivers/srmp2.c:478:14: warning: variable 'qqq02' set but not used [-Wunused-but-set-variable] 478 | static int qqq02 = 0; | ^ src/drivers/srmp2.c:479:14: warning: variable 'qqq49' set but not used [-Wunused-but-set-variable] 479 | static int qqq49 = 0; | ^ src/drivers/srmp2.c:480:14: warning: variable 'qqqzz' set but not used [-Wunused-but-set-variable] 480 | static int qqqzz = 0; | ^ 9 warnings generated. Compiling src/vidhrdw/powerins_vidhrdw.c... In file included from src/vidhrdw/seta2_vidhrdw.c:73: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/seta2_vidhrdw.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | xpos = 0; | ^ | int 5 warnings generated. Compiling src/drivers/powerins.c... Compiling src/vidhrdw/ohmygod_vidhrdw.c... Compiling src/drivers/ohmygod.c... In file included from src/drivers/neogeo.c:205: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blmbycar_vidhrdw.c... In file included from src/vidhrdw/ssv_vidhrdw.c:138: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/seta2.c:238: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/blmbycar.c... In file included from src/vidhrdw/powerins_vidhrdw.c:39: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/seta.c:1083: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/seta.c:8191:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 8191 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/seta.c:8254:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 8254 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/route16_vidhrdw.c... In file included from src/drivers/ssv.c:101: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/route16.c... In file included from src/drivers/ohmygod.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/powerins.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ohmygod_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ttmahjng_vidhrdw.c... Compiling src/drivers/ttmahjng.c... In file included from src/vidhrdw/blmbycar_vidhrdw.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kangaroo_vidhrdw.c... In file included from src/drivers/route16.c:70: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/route16_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/route16_vidhrdw.c:77:35: warning: converting the result of '<<' to a boolean; did you mean '((data & 2) << 6) != 0'? [-Wint-in-bool-context] 77 | video_disable_1 = ((data & 0x02) << 6) && route16_hardware; | ^ src/vidhrdw/route16_vidhrdw.c:96:35: warning: converting the result of '<<' to a boolean; did you mean '((data & 2) << 6) != 0'? [-Wint-in-bool-context] 96 | video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware; | ^ 6 warnings generated. Compiling src/drivers/arabian.c... Compiling src/vidhrdw/markham_vidhrdw.c... Compiling src/drivers/markham.c... Compiling src/vidhrdw/strnskil_vidhrdw.c... Compiling src/drivers/strnskil.c... Compiling src/drivers/kangaroo.c... Compiling src/vidhrdw/arabian_vidhrdw.c... In file included from src/drivers/blmbycar.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/blmbycar.c:368:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 368 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/ikki_vidhrdw.c... In file included from src/drivers/ttmahjng.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shangha3_vidhrdw.c... Compiling src/drivers/ikki.c... Compiling src/drivers/shanghai.c... In file included from src/drivers/arabian.c:69: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/markham.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shangha3.c... In file included from src/vidhrdw/ttmahjng_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/strnskil_vidhrdw.c:11: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/goindol_vidhrdw.c... In file included from src/drivers/kangaroo.c:119: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/kangaroo_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ikki.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/markham_vidhrdw.c:11: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/arabian_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/arabian_vidhrdw.c:96:24: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 96 | int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; | ^ ~ src/vidhrdw/arabian_vidhrdw.c:96:24: note: add parentheses after the '!' to evaluate the bitwise operator first 96 | int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; | ^ | ( ) src/vidhrdw/arabian_vidhrdw.c:96:24: note: add parentheses around left hand side expression to silence this warning 96 | int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; | ^ | ( ) src/vidhrdw/arabian_vidhrdw.c:127:24: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 127 | int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; | ^ ~ src/vidhrdw/arabian_vidhrdw.c:127:24: note: add parentheses after the '!' to evaluate the bitwise operator first 127 | int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; | ^ | ( ) src/vidhrdw/arabian_vidhrdw.c:127:24: note: add parentheses around left hand side expression to silence this warning 127 | int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; | ^ | ( ) src/vidhrdw/arabian_vidhrdw.c:148:16: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 148 | int bbase = (!abhf & az) ? 0 : ab; | ^ ~ src/vidhrdw/arabian_vidhrdw.c:148:16: note: add parentheses after the '!' to evaluate the bitwise operator first 148 | int bbase = (!abhf & az) ? 0 : ab; | ^ | ( ) src/vidhrdw/arabian_vidhrdw.c:148:16: note: add parentheses around left hand side expression to silence this warning 148 | int bbase = (!abhf & az) ? 0 : ab; | ^ | ( ) 7 warnings generated. Compiling src/drivers/goindol.c... In file included from src/vidhrdw/ikki_vidhrdw.c:11: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suna8_vidhrdw.c... Compiling src/drivers/suna8.c... In file included from src/drivers/strnskil.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suna16_vidhrdw.c... Compiling src/drivers/suna16.c... In file included from src/drivers/shangha3.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gundealr_vidhrdw.c... In file included from src/vidhrdw/goindol_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/shangha3_vidhrdw.c:61: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gundealr.c... In file included from src/drivers/shanghai.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/suna16_vidhrdw.c:60: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/goindol.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dooyong_vidhrdw.c... Compiling src/drivers/dooyong.c... Compiling src/machine/leprechn_machine.c... In file included from src/drivers/suna16.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/suna16.c:794:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 794 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/gundealr_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/gundealr.c:49: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/leprechn_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/leprechn_vidhrdw.c... In file included from src/vidhrdw/suna8_vidhrdw.c:72: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/dooyong_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/beezer_machine.c... Compiling src/drivers/leprechn.c... In file included from src/vidhrdw/leprechn_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/beezer_vidhrdw.c... In file included from src/drivers/suna8.c:38: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/beezer.c... Compiling src/vidhrdw/pushman_vidhrdw.c... In file included from src/drivers/dooyong.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pushman.c... In file included from src/machine/beezer_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/zerozone_vidhrdw.c... Compiling src/drivers/zerozone.c... Compiling src/vidhrdw/galspnbl_vidhrdw.c... Compiling src/drivers/galspnbl.c... In file included from src/vidhrdw/pushman_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sslam_vidhrdw.c... In file included from src/vidhrdw/beezer_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/beezer.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/zerozone_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/galspnbl_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/playmark_vidhrdw.c... Compiling src/drivers/playmark.c... In file included from src/drivers/leprechn.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sslam.c... Compiling src/vidhrdw/thief_vidhrdw.c... In file included from src/drivers/zerozone.c:29: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mrflea_vidhrdw.c... Compiling src/drivers/thief.c... In file included from src/drivers/pushman.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/holeland_vidhrdw.c... Compiling src/drivers/holeland.c... Compiling src/drivers/mrflea.c... In file included from src/drivers/playmark.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/playmark.c:396:25: warning: unused variable 'hrdtimes_sound_readport' [-Wunused-const-variable] 396 | static PORT_READ_START( hrdtimes_sound_readport ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:570:68: note: expanded from macro 'PORT_READ_START' 570 | #define PORT_READ_START(name) MEMPORT_ARRAY_START(IO_ReadPort, name, MEMPORT_DIRECTION_READ | MEMPORT_TYPE_IO | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/playmark.c:403:26: warning: unused variable 'hrdtimes_sound_writeport' [-Wunused-const-variable] 403 | static PORT_WRITE_START( hrdtimes_sound_writeport ) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:571:69: note: expanded from macro 'PORT_WRITE_START' 571 | #define PORT_WRITE_START(name) MEMPORT_ARRAY_START(IO_WritePort, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_IO | MEMPORT_WIDTH_8) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 6 warnings generated. In file included from src/drivers/sslam.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/playmark_vidhrdw.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/speedbal_vidhrdw.c... In file included from src/drivers/galspnbl.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/holeland_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/speedbal.c... Compiling src/vidhrdw/sauro_vidhrdw.c... In file included from src/vidhrdw/sslam_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/thief_vidhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sauro.c... Compiling src/vidhrdw/metro_vidhrdw.c... Compiling src/drivers/metro.c... Compiling src/vidhrdw/hyprduel_vidhrdw.c... In file included from src/vidhrdw/speedbal_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/thief.c:29: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hyprduel.c... In file included from src/drivers/holeland.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mrflea_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/spcforce_vidhrdw.c... Compiling src/drivers/spcforce.c... In file included from src/drivers/mrflea.c:42: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/metro_vidhrdw.c:54: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/speedbal.c:46: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sauro.c:76: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sauro_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/paradise_vidhrdw.c... Compiling src/drivers/looping.c... Compiling src/drivers/paradise.c... In file included from src/vidhrdw/hyprduel_vidhrdw.c:56: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/hyprduel_vidhrdw.c:135:20: warning: unused function 'get_tile_info' [-Wunused-function] 135 | static INLINE void get_tile_info(int tile_index,int layer,data16_t *vram) | ^~~~~~~~~~~~~ src/vidhrdw/hyprduel_vidhrdw.c:216:20: warning: unused function 'get_tile_info_16x16_8bit' [-Wunused-function] 216 | static INLINE void get_tile_info_16x16_8bit(int tile_index,int layer,data16_t *vram) | ^~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/drivers/spcforce.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/yunsung8_vidhrdw.c... Compiling src/drivers/yunsung8.c... In file included from src/vidhrdw/spcforce_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/yunsun16_vidhrdw.c... In file included from src/vidhrdw/paradise_vidhrdw.c:28: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/hyprduel.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/looping.c:61: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yunsun16.c... Compiling src/vidhrdw/blueprnt_vidhrdw.c... In file included from src/drivers/metro.c:79: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/metro.c:4611:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 4611 | data16_t *RAM = (data16_t *) memory_region( REGION_USER1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/metro.c:4619:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 4619 | init_metro(); | ^ src/drivers/metro.c:4616:1: note: previous statement is here 4616 | for (i = 0;i < memory_region_length(REGION_USER1)/2;i++) | ^ src/drivers/metro.c:273:25: warning: unused function 'mouja_irq_timer_ctrl_w' [-Wunused-function] 273 | static WRITE16_HANDLER( mouja_irq_timer_ctrl_w ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/metro.c:592:25: warning: unused function 'mouja_sound_rombank_w' [-Wunused-function] 592 | static WRITE16_HANDLER( mouja_sound_rombank_w ) | ^~~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/metro.c:598:24: warning: unused function 'mouja_m6295_status_lsb_r' [-Wunused-function] 598 | static READ16_HANDLER( mouja_m6295_status_lsb_r ) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/metro.c:613:25: warning: unused function 'mouja_m6295_data_msb_w' [-Wunused-function] 613 | static WRITE16_HANDLER( mouja_m6295_data_msb_w ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ 10 warnings generated. Compiling src/drivers/blueprnt.c... In file included from src/drivers/paradise.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/paradise.c:56:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | static irq_count = 0; | ~~~~~~ ^ | int 5 warnings generated. In file included from src/drivers/yunsung8.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/yunsung8_vidhrdw.c:30: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fuukifg2_vidhrdw.c... In file included from src/drivers/yunsun16.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fuukifg2.c... In file included from src/vidhrdw/yunsun16_vidhrdw.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fuukifg3_vidhrdw.c... Compiling src/drivers/fuukifg3.c... In file included from src/vidhrdw/blueprnt_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/drgnmst_vidhrdw.c... In file included from src/drivers/blueprnt.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/fuukifg2_vidhrdw.c:27: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/drgnmst.c... In file included from src/drivers/fuukifg2.c:37: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/unico_vidhrdw.c... Compiling src/drivers/unico.c... Compiling src/vidhrdw/silkroad_vidhrdw.c... Compiling src/drivers/silkroad.c... In file included from src/drivers/fuukifg3.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/fuukifg3.c:158:25: warning: unused function 'fuuki32_sound_command_w' [-Wunused-function] 158 | static WRITE32_HANDLER( fuuki32_sound_command_w ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: expanded from 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/fuukifg3.c:168:24: warning: unused function 'fuuki32_sound_command_r' [-Wunused-function] 168 | static READ32_HANDLER( fuuki32_sound_command_r ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: expanded from macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ 6 warnings generated. In file included from src/vidhrdw/fuukifg3_vidhrdw.c:30: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/afega.c... Compiling src/vidhrdw/afega_vidhrdw.c... In file included from src/vidhrdw/drgnmst_vidhrdw.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/esd16_vidhrdw.c... In file included from src/drivers/unico.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/drgnmst.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/unico_vidhrdw.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/royalmah.c... In file included from src/drivers/silkroad.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/esd16.c... In file included from src/drivers/afega.c:29: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/esd16_vidhrdw.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/silkroad_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/hnayayoi_vidhrdw.c... In file included from src/drivers/royalmah.c:76: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hnayayoi.c... Compiling src/vidhrdw/dynax_vidhrdw.c... Compiling src/drivers/realbrk.c... Compiling src/vidhrdw/realbrk_vidhrdw.c... Compiling src/vidhrdw/crtc6845.c... Compiling src/vidhrdw/nyny_vidhrdw.c... Compiling src/drivers/nyny.c... Compiling src/drivers/dynax.c... In file included from src/vidhrdw/hnayayoi_vidhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/hnayayoi_vidhrdw.c:222:24: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 222 | int county,countx,pen,offs; | ^ 5 warnings generated. Compiling src/drivers/ddenlovr.c... In file included from src/vidhrdw/afega_vidhrdw.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/esd16.c:29: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/r2dtank.c... In file included from src/drivers/realbrk.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/nyny_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/spiders_machine.c... Compiling src/vidhrdw/spiders_vidhrdw.c... Compiling src/drivers/spiders.c... Compiling src/vidhrdw/iqblock_vidhrdw.c... Compiling src/drivers/iqblock.c... In file included from src/drivers/hnayayoi.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/chindrag.c... In file included from src/vidhrdw/crtc6845.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/dynax_vidhrdw.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/dynax_vidhrdw.c:623:21: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 623 | int dy,length,pen,offs; | ^ src/vidhrdw/dynax_vidhrdw.c:680:21: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 680 | int dy,length,pen,offs; | ^ 6 warnings generated. Compiling src/drivers/grtwall.c... In file included from src/drivers/nyny.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/r2dtank.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/realbrk_vidhrdw.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/spiders_machine.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pgm_vidhrdw.c... In file included from src/vidhrdw/spiders_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ddenlovr.c:79: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/ddenlovr.c:2090:23: warning: unused function 'rtc_irq' [-Wunused-function] 2090 | static INTERRUPT_GEN( rtc_irq ) | ^~~~~~~ src/driver.h:21:35: note: expanded from macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ 5 warnings generated. Compiling src/drivers/pgm.c... In file included from src/drivers/spiders.c:164: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/dynax.c:71: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/dynax.c:785:29: warning: unused variable 'roldfrog_readmem' [-Wunused-const-variable] 785 | static MEMORY_READ16_START( roldfrog_readmem ) | ^~~~~~~~~~~~~~~~ src/memory.h:561:78: note: expanded from macro 'MEMORY_READ16_START' 561 | #define MEMORY_READ16_START(name) MEMPORT_ARRAY_START(Memory_ReadAddress16, name, MEMPORT_DIRECTION_READ | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_16) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/dynax.c:795:30: warning: unused variable 'roldfrog_writemem' [-Wunused-const-variable] 795 | static MEMORY_WRITE16_START( roldfrog_writemem ) | ^~~~~~~~~~~~~~~~~ src/memory.h:562:79: note: expanded from macro 'MEMORY_WRITE16_START' 562 | #define MEMORY_WRITE16_START(name) MEMPORT_ARRAY_START(Memory_WriteAddress16, name, MEMPORT_DIRECTION_WRITE | MEMPORT_TYPE_MEM | MEMPORT_WIDTH_16) | ^~~~ src/memory.h:552:51: note: expanded from macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ 6 warnings generated. Compiling src/machine/pgmprot_machine.c... Compiling src/machine/pgmcrypt.c... In file included from src/vidhrdw/iqblock_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/iqblock.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/pgmy2ks.c... In file included from src/drivers/grtwall.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/grtwall.c:95:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 95 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/hitme_vidhrdw.c... Compiling src/drivers/hitme.c... In file included from src/drivers/chindrag.c:4: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:332:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 332 | UINT16 *src = (UINT16 *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:356:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 356 | UINT16 *src = (UINT16 *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:381:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 381 | UINT16 *src = (UINT16 *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:410:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 410 | UINT16 *src = (UINT16 *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:440:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 440 | UINT16 *src = (UINT16 *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:471:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 471 | UINT16 *src = (UINT16 *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:505:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 505 | UINT16 *src = (UINT16 *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:1704:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1704 | UINT16 *rom = (UINT16 *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:1730:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1730 | UINT16 *rom = (UINT16 *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:1755:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1755 | UINT16 *rom = (UINT16 *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:1778:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1778 | UINT16 *rom = (UINT16 *) memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:293:1: warning: unused function 'igs_5_input_w' [-Wunused-function] 293 | IGS_INPUT_RW( 5 ) | ^~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:270:25: note: expanded from macro 'IGS_INPUT_RW' 270 | static WRITE16_HANDLER( igs_##NUM##_input_w ) \ | ^~~~~~~~~~~~~~~~~~~ :152:1: note: expanded from here 152 | igs_5_input_w | ^~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/chindrag.c:293:1: warning: unused function 'igs_5_input_r' [-Wunused-function] 293 | IGS_INPUT_RW( 5 ) | ^~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:278:24: note: expanded from macro 'IGS_INPUT_RW' 278 | static READ16_HANDLER( igs_##NUM##_input_r ) \ | ^~~~~~~~~~~~~~~~~~~ :154:1: note: expanded from here 154 | igs_5_input_r | ^~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/chindrag.c:600:25: warning: unused function 'chmplst2_magic_w' [-Wunused-function] 600 | static WRITE16_HANDLER( chmplst2_magic_w ) | ^~~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/chindrag.c:641:24: warning: unused function 'chmplst2_magic_r' [-Wunused-function] 641 | static READ16_HANDLER( chmplst2_magic_r ) | ^~~~~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/chindrag.c:754:25: warning: unused function 'grtwall_magic_w' [-Wunused-function] 754 | static WRITE16_HANDLER( grtwall_magic_w ) | ^~~~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/chindrag.c:781:24: warning: unused function 'grtwall_magic_r' [-Wunused-function] 781 | static READ16_HANDLER( grtwall_magic_r ) | ^~~~~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/chindrag.c:818:25: warning: unused function 'lhb_okibank_w' [-Wunused-function] 818 | static WRITE16_HANDLER( lhb_okibank_w ) | ^~~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/chindrag.c:830:25: warning: unused function 'lhb_input2_w' [-Wunused-function] 830 | static WRITE16_HANDLER( lhb_input2_w ) | ^~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/chindrag.c:847:24: warning: unused function 'lhb_input2_r' [-Wunused-function] 847 | static READ16_HANDLER( lhb_input2_r ) | ^~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/chindrag.c:932:25: warning: unused function 'xymg_magic_w' [-Wunused-function] 932 | static WRITE16_HANDLER( xymg_magic_w ) | ^~~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/chindrag.c:960:24: warning: unused function 'xymg_magic_r' [-Wunused-function] 960 | static READ16_HANDLER( xymg_magic_r ) | ^~~~~~~~~~~~ src/memory.h:128:39: note: expanded from macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/chindrag.c:1060:25: warning: unused function 'vbowl_unk_w' [-Wunused-function] 1060 | static WRITE16_HANDLER( vbowl_unk_w ) | ^~~~~~~~~~~ src/memory.h:129:40: note: expanded from 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/chindrag.c:1625:13: warning: unused function 'sound_irq' [-Wunused-function] 1625 | static void sound_irq(int state) | ^~~~~~~~~ src/drivers/chindrag.c:1702:8: warning: unused function 'init_chindrag' [-Wunused-function] 1702 | static DRIVER_INIT( chindrag ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~~~~~~~ :88:1: note: expanded from here 88 | init_chindrag | ^~~~~~~~~~~~~ 29 warnings generated. Compiling src/drivers/starcrus.c... Compiling src/vidhrdw/starcrus_vidhrdw.c... In file included from src/vidhrdw/pgm_vidhrdw.c:4: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pgm.c:222: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:433:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 433 | return ((data16_t *)generic_nvram)[offset] | 0xfff0; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:1493:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1493 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:1707:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1707 | UINT16 *PROTROM = (UINT16*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:1747:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1747 | UINT16 *PROTROM = (UINT16*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:1760:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1760 | UINT16 *PROTROM = (UINT16*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:1882:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1882 | void olds_protection_calculate_hilo(); | ^ | void src/drivers/pgm.c:2050:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2050 | UINT16 *PROTROM = (UINT16*)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:2113:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2113 | void olds_protection_calculate_hilo() /* calculated in routine $12dbc2 in olds */ | ^ | void src/drivers/pgm.c:2459:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 2459 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:2571:7: warning: declaration shadows a variable in the global scope [-Wshadow] 2571 | int num_mask_bits; | ^ src/drivers/pgm.c:2505:12: note: previous declaration is here 2505 | static int num_mask_bits; | ^ src/drivers/pgm.c:2572:7: warning: declaration shadows a variable in the global scope [-Wshadow] 2572 | int desired_mask; | ^ src/drivers/pgm.c:2507:12: note: previous declaration is here 2507 | static int desired_mask; | ^ src/drivers/pgm.c:2573:7: warning: declaration shadows a variable in the global scope [-Wshadow] 2573 | int realrow; | ^ src/drivers/pgm.c:2510:12: note: previous declaration is here 2510 | static int realrow; | ^ src/drivers/pgm.c:2807:6: warning: declaration shadows a variable in the global scope [-Wshadow] 2807 | int columns = 0; | ^ src/drivers/pgm.c:2506:12: note: previous declaration is here 2506 | static int columns; | ^ src/drivers/pgm.c:2808:6: warning: declaration shadows a variable in the global scope [-Wshadow] 2808 | int rows = 0; | ^ src/drivers/pgm.c:2509:12: note: previous declaration is here 2509 | static int rows; | ^ src/drivers/pgm.c:2895:12: warning: declaration shadows a variable in the global scope [-Wshadow] 2895 | UINT16* leveldata = &level_structure[0][0]; | ^ src/drivers/pgm.c:2508:12: note: previous declaration is here 2508 | static int leveldata; | ^ src/drivers/pgm.c:3130:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 3130 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:2505:12: warning: unused variable 'num_mask_bits' [-Wunused-variable] 2505 | static int num_mask_bits; | ^~~~~~~~~~~~~ src/drivers/pgm.c:2506:12: warning: unused variable 'columns' [-Wunused-variable] 2506 | static int columns; | ^~~~~~~ src/drivers/pgm.c:2507:12: warning: unused variable 'desired_mask' [-Wunused-variable] 2507 | static int desired_mask; | ^~~~~~~~~~~~ src/drivers/pgm.c:2508:12: warning: unused variable 'leveldata' [-Wunused-variable] 2508 | static int leveldata; | ^~~~~~~~~ src/drivers/pgm.c:2509:12: warning: unused variable 'rows' [-Wunused-variable] 2509 | static int rows; | ^~~~ src/drivers/pgm.c:2510:12: warning: unused variable 'realrow' [-Wunused-variable] 2510 | static int realrow; | ^~~~~~~ 26 warnings generated. In file included from src/vidhrdw/hitme_vidhrdw.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/pgmcrypt.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:28:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 28 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:90:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 90 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:131:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 131 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:173:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 173 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:233:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 233 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:273:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 273 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:305:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 305 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:344:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 344 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:402:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 402 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:443:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 443 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/pgmcrypt.c:484:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 484 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. Compiling src/vidhrdw/battlex_vidhrdw.c... Compiling src/drivers/battlex.c... Compiling src/drivers/carjmbre.c... Compiling src/vidhrdw/popper_vidhrdw.c... Compiling src/vidhrdw/carjmbre_vidhrdw.c... Compiling src/drivers/popper.c... In file included from src/vidhrdw/starcrus_vidhrdw.c:4: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/machine/pgmprot_machine.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/battlex.c:56: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/carjmbre.c:43: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/starcrus.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/speedspn_vidhrdw.c... Compiling src/drivers/speedspn.c... In file included from src/vidhrdw/battlex_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kickgoal.c... Compiling src/vidhrdw/usgames_vidhrdw.c... Compiling src/vidhrdw/kickgoal_vidhrdw.c... In file included from src/drivers/hitme.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mermaid_vidhrdw.c... Compiling src/drivers/usgames.c... Compiling src/drivers/mermaid.c... Compiling src/vidhrdw/drmicro_vidhrdw.c... In file included from src/vidhrdw/usgames_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/drmicro.c... In file included from src/vidhrdw/speedspn_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/popper_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/appoooh_vidhrdw.c... In file included from src/drivers/speedspn.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/kickgoal_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/popper.c:81: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/kickgoal.c:29: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/kickgoal.c:238:29: warning: '/*' within block comment [-Wcomment] 238 | /* { 0x800006, 0x800007, }, /* accessed in service menu, wheel maybe? */ | ^ src/drivers/kickgoal.c:630:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 630 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/drivers/mermaid.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mermaid_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/carjmbre_vidhrdw.c:6: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/appoooh.c... Compiling src/vidhrdw/bankp_vidhrdw.c... In file included from src/drivers/usgames.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/drmicro_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bankp.c... Compiling src/vidhrdw/mjkjidai_vidhrdw.c... In file included from src/drivers/appoooh.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mjkjidai.c... In file included from src/drivers/drmicro.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mayumi_vidhrdw.c... In file included from src/vidhrdw/appoooh_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mayumi.c... Compiling src/vidhrdw/btoads_vidhrdw.c... Compiling src/drivers/btoads.c... In file included from src/drivers/bankp.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kinst_vidhrdw.c... In file included from src/vidhrdw/bankp_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kinst.c... Compiling src/vidhrdw/freekick_vidhrdw.c... In file included from src/drivers/mayumi.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/btoads_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mjkjidai_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/freekick.c... In file included from src/drivers/btoads.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mjkjidai.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mayumi_vidhrdw.c:10: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/freekick_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hanaroku.c... Compiling src/drivers/rmhaihai.c... Compiling src/drivers/yumefuda.c... In file included from src/vidhrdw/kinst_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/homedata.c... Compiling src/vidhrdw/homedata_vidhrdw.c... In file included from src/drivers/kinst.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/artmagic_vidhrdw.c... In file included from src/drivers/rmhaihai.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/artmagic.c... In file included from src/drivers/hanaroku.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shangkid_vidhrdw.c... Compiling src/drivers/shangkid.c... In file included from src/drivers/yumefuda.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/freekick.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/homedata.c:219: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/astinvad_vidhrdw.c... Compiling src/sndhrdw/astinvad_sndhrdw.c... Compiling src/drivers/astinvad.c... In file included from src/drivers/artmagic.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/spacefb_vidhrdw.c... In file included from src/vidhrdw/artmagic_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/artmagic_vidhrdw.c:60:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 60 | blitter_base = (UINT16 *)memory_region(REGION_GFX1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/spacefb.c... In file included from src/drivers/shangkid.c:51: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/astinvad_sndhrdw.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/omegrace.c... Compiling src/vidhrdw/dday_vidhrdw.c... In file included from src/drivers/astinvad.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/homedata_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dday.c... Compiling src/vidhrdw/hexa_vidhrdw.c... Compiling src/drivers/hexa.c... In file included from src/vidhrdw/shangkid_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/redalert_vidhrdw.c... Compiling src/sndhrdw/redalert_sndhrdw.c... Compiling src/drivers/redalert.c... In file included from src/vidhrdw/astinvad_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/spacefb_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/stactics_machine.c... In file included from src/drivers/dday.c:52: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/spacefb.c:125: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/spacefb.c:166:13: warning: variable 'explosion_playing' set but not used [-Wunused-but-set-variable] 166 | static int explosion_playing = 0; | ^ 5 warnings generated. In file included from src/drivers/hexa.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/omegrace.c:219: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/stactics_vidhrdw.c... Compiling src/drivers/stactics.c... In file included from src/vidhrdw/dday_vidhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/redalert_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/redalert_sndhrdw.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kingobox_vidhrdw.c... In file included from src/drivers/redalert.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kingobox.c... In file included from src/machine/stactics_machine.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ambush_vidhrdw.c... Compiling src/drivers/dlair.c... Compiling src/vidhrdw/aztarac_vidhrdw.c... Compiling src/drivers/ambush.c... In file included from src/vidhrdw/hexa_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/kingobox_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/stactics.c:45: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/aztarac_sndhrdw.c... In file included from src/drivers/kingobox.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/ambush_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aztarac.c... Compiling src/vidhrdw/mole_vidhrdw.c... Compiling src/drivers/mole.c... In file included from src/vidhrdw/stactics_vidhrdw.c:61: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/dlair.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/aztarac_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gotya_vidhrdw.c... Compiling src/sndhrdw/gotya_sndhrdw.c... In file included from src/vidhrdw/mole_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gotya.c... In file included from src/drivers/ambush.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/aztarac_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mrjong_vidhrdw.c... Compiling src/drivers/mrjong.c... In file included from src/drivers/mole.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/polyplay_vidhrdw.c... In file included from src/sndhrdw/gotya_sndhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/polyplay_sndhrdw.c... Compiling src/drivers/polyplay.c... In file included from src/drivers/aztarac.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/aztarac.c:49:10: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 49 | return ((data16_t *)generic_nvram)[offset] | 0xfff0; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/amspdwy_vidhrdw.c... In file included from src/vidhrdw/polyplay_vidhrdw.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gotya_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/othldrby_vidhrdw.c... Compiling src/drivers/amspdwy.c... Compiling src/drivers/othldrby.c... In file included from src/drivers/gotya.c:30: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mosaic_vidhrdw.c... In file included from src/drivers/mrjong.c:45: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/amspdwy.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mosaic.c... In file included from src/vidhrdw/amspdwy_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mrjong_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spdbuggy.c... Compiling src/vidhrdw/sprcros2_vidhrdw.c... Compiling src/vidhrdw/mugsmash_vidhrdw.c... Compiling src/drivers/sprcros2.c... Compiling src/drivers/mugsmash.c... In file included from src/drivers/polyplay.c:81: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/stlforce_vidhrdw.c... In file included from src/drivers/othldrby.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gcpinbal_vidhrdw.c... Compiling src/drivers/stlforce.c... In file included from src/vidhrdw/othldrby_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/mosaic_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sndhrdw/polyplay_sndhrdw.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sprcros2_vidhrdw.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mugsmash.c:42: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gcpinbal.c... Compiling src/drivers/aquarium.c... Compiling src/vidhrdw/policetr_vidhrdw.c... Compiling src/vidhrdw/aquarium_vidhrdw.c... In file included from src/drivers/mosaic.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/policetr.c... In file included from src/vidhrdw/mugsmash_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gcpinbal_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/sprcros2.c:57: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pass_vidhrdw.c... Compiling src/drivers/pass.c... In file included from src/vidhrdw/policetr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/stlforce_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/stlforce_vidhrdw.c:196:13: warning: unused function 'draw_sprites_old' [-Wunused-function] 196 | static void draw_sprites_old( struct mame_bitmap *bitmap, const struct rectangle *cliprect ) | ^~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/spdbuggy.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/policetr.c:63: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/stlforce.c:72: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/news_vidhrdw.c... In file included from src/drivers/aquarium.c:48: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/news.c... In file included from src/drivers/gcpinbal.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/aquarium_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/taxidrvr_vidhrdw.c... In file included from src/vidhrdw/news_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pass.c:102: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/pass_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/taxidrvr.c... Compiling src/vidhrdw/xyonix_vidhrdw.c... In file included from src/drivers/news.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xyonix.c... Compiling src/drivers/findout.c... Compiling src/vidhrdw/dribling_vidhrdw.c... Compiling src/drivers/dribling.c... Compiling src/drivers/ace.c... Compiling src/machine/clayshoo_machine.c... Compiling src/vidhrdw/clayshoo_vidhrdw.c... In file included from src/vidhrdw/taxidrvr_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/clayshoo.c... In file included from src/vidhrdw/xyonix_vidhrdw.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pirates_vidhrdw.c... In file included from src/drivers/findout.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pirates.c... In file included from src/drivers/taxidrvr.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/dribling.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fitfight_vidhrdw.c... In file included from src/vidhrdw/clayshoo_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fitfight.c... In file included from src/drivers/xyonix.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/clayshoo.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/flower_vidhrdw.c... In file included from src/vidhrdw/dribling_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/flower_sndhrdw.c... In file included from src/machine/clayshoo_machine.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/pirates_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ace.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/flower.c... Compiling src/vidhrdw/diverboy_vidhrdw.c... In file included from src/vidhrdw/fitfight_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/diverboy.c... In file included from src/drivers/pirates.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pirates.c:382:11: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 382 | rom = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pirates.c:480:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 480 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/beaminv_vidhrdw.c... In file included from src/vidhrdw/flower_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/beaminv.c... Compiling src/vidhrdw/mcatadv_vidhrdw.c... In file included from src/drivers/fitfight.c:86: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/4enraya_vidhrdw.c... In file included from src/sndhrdw/flower_sndhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/4enraya.c... Compiling src/drivers/mcatadv.c... In file included from src/vidhrdw/diverboy_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/flower.c:35: In file included from src/vidhrdw/generic.h:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/beaminv_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/diverboy.c:49: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/oneshot_vidhrdw.c... Compiling src/drivers/oneshot.c... In file included from src/vidhrdw/mcatadv_vidhrdw.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tugboat.c... In file included from src/drivers/beaminv.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gotcha_vidhrdw.c... Compiling src/drivers/gotcha.c... In file included from src/vidhrdw/4enraya_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gumbo_vidhrdw.c... Compiling src/drivers/coolpool.c... In file included from src/drivers/4enraya.c:52: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mcatadv.c:60: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/mcatadv.c:89:25: warning: unused function 'mcat_coin_w' [-Wunused-function] 89 | static WRITE16_HANDLER( mcat_coin_w ) | ^~~~~~~~~~~ src/memory.h:129:40: note: expanded from macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ 5 warnings generated. In file included from src/vidhrdw/oneshot_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/tugboat.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gumbo.c... In file included from src/drivers/oneshot.c:32: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/statriv2.c... Compiling src/vidhrdw/tickee_vidhrdw.c... In file included from src/drivers/gotcha.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tickee.c... In file included from src/vidhrdw/gotcha_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/gumbo_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crgolf_vidhrdw.c... Compiling src/drivers/crgolf.c... Compiling src/vidhrdw/truco_vidhrdw.c... Compiling src/drivers/truco.c... In file included from src/drivers/gumbo.c:37: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/statriv2.c:44: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/thedeep_vidhrdw.c... In file included from src/vidhrdw/tickee_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/coolpool.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/coolpool.c:890:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 890 | rom = (data16_t *)memory_region(REGION_USER2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/thedeep.c... In file included from src/drivers/tickee.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fantland_vidhrdw.c... In file included from src/vidhrdw/truco_vidhrdw.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fantland.c... In file included from src/drivers/crgolf.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/crgolf_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/thedeep_vidhrdw.c:31: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wallc.c... Compiling src/drivers/skyarmy.c... Compiling src/vidhrdw/lethalj_vidhrdw.c... In file included from src/drivers/truco.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/thedeep.c:27: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lethalj.c... In file included from src/vidhrdw/fantland_vidhrdw.c:60: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sbugger_vidhrdw.c... Compiling src/drivers/sbugger.c... Compiling src/vidhrdw/portrait_vidhrdw.c... Compiling src/drivers/portrait.c... Compiling src/drivers/enigma2.c... In file included from src/drivers/skyarmy.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/lethalj_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/lethalj_vidhrdw.c:109:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 109 | blitter_base = (UINT16 *)memory_region(REGION_GFX1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/fantland.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/fantland.c:969:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 969 | wheelrun_ym3526_irqhandler | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | { } src/drivers/fantland.c:1005:2: warning: passing 'const struct YM3812interface *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1005 | MDRV_SOUND_ADD(YM3526, wheelrun_ym3526_interface ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:250:2: note: expanded from macro 'MDRV_SOUND_ADD' 250 | MDRV_SOUND_ADD_TAG(NULL, type, interface) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:247:50: note: expanded from macro 'MDRV_SOUND_ADD_TAG' 247 | machine_add_sound(machine, (tag), SOUND_##type, &(interface)); \ | ^~~~~~~~~~~~ src/driver.h:270:112: note: passing argument to parameter 'sndintf' here 270 | struct MachineSound *machine_add_sound(struct InternalMachineDriver *machine, const char *tag, int type, void *sndintf); | ^ 6 warnings generated. Compiling src/drivers/ltcasino.c... In file included from src/drivers/lethalj.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/sbugger_vidhrdw.c:3: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vamphalf.c... Compiling src/drivers/strvmstr.c... In file included from src/drivers/sbugger.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dorachan_vidhrdw.c... In file included from src/drivers/wallc.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/vamphalf.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/enigma2.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dorachan.c... Compiling src/vidhrdw/ladyfrog_vidhrdw.c... In file included from src/drivers/strvmstr.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ltcasino.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/portrait.c:20: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ladyfrog.c... Compiling src/drivers/malzak.c... Compiling src/drivers/rabbit.c... In file included from src/vidhrdw/portrait_vidhrdw.c:10: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/dorachan_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/malzak_vidhrdw.c... In file included from src/vidhrdw/ladyfrog_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/ladyfrog.c:49: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crospang_vidhrdw.c... Compiling src/drivers/crospang.c... Compiling src/drivers/supertnk.c... In file included from src/drivers/dorachan.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/malzak.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/malzak.c:335:23: warning: unused function 'malzak_interrupt' [-Wunused-function] 335 | static INTERRUPT_GEN( malzak_interrupt ) | ^~~~~~~~~~~~~~~~ src/driver.h:21:35: note: expanded from macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ 5 warnings generated. In file included from src/vidhrdw/malzak_vidhrdw.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/rabbit.c:56: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/funybubl.c... In file included from src/vidhrdw/crospang_vidhrdw.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/crospang_vidhrdw.c:87:34: warning: variable 'attr' set but not used [-Wunused-but-set-variable] 87 | int offs,fx,fy,x,y,color,sprite,attr,dy,ay,flag; | ^ 5 warnings generated. Compiling src/drivers/dreamwld.c... In file included from src/drivers/crospang.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/seicop.c... Compiling src/vidhrdw/denjinmk.c... Compiling src/drivers/driver_denjinmk.c... Compiling src/drivers/simpl156.c... In file included from src/drivers/supertnk.c:98: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/boogwing.c... Compiling src/drivers/dietgo.c... Compiling src/drivers/pktgaldx.c... In file included from src/drivers/funybubl.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/funybubl.c:64:23: warning: unused function 'unk_port_r' [-Wunused-function] 64 | static READ_HANDLER ( unk_port_r ) | ^~~~~~~~~~ src/memory.h:126:39: note: expanded from macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ 5 warnings generated. Compiling src/drivers/dblewing.c... In file included from src/drivers/driver_denjinmk.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/driver_denjinmk.c:407:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 407 | UINT16 *ROM = (UINT16 *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/drivers/dreamwld.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/dreamwld.c:121:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 121 | UINT16 *redirect = (UINT16 *)memory_region(REGION_GFX3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/backfire.c... Compiling src/drivers/pturn.c... In file included from src/drivers/simpl156.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/simpl156.c:730:21: warning: passing 'const UINT8 *' (aka 'const unsigned char *') to parameter of type 'UINT8 *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 730 | EEPROM_set_data(simpl156_default_eeprom,0x100); | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/eeprom.h:29:29: note: passing argument to parameter 'data' here 29 | void EEPROM_set_data(UINT8 *data, int length); | ^ src/drivers/simpl156.c:101:21: warning: unused variable 'prtytime_default_eeprom' [-Wunused-variable] 101 | static const UINT8 *prtytime_default_eeprom = NULL; | ^~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/mwarr.c... Compiling src/vidhrdw/suprridr_vidhrdw.c... In file included from src/drivers/pktgaldx.c:47: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/suprridr.c... In file included from src/vidhrdw/denjinmk.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/denjinmk.c:82:13: warning: unused function 'get_mid_tile_info' [-Wunused-function] 82 | static void get_mid_tile_info(int tile_index) | ^~~~~~~~~~~~~~~~~ src/vidhrdw/denjinmk.c:106:13: warning: unused function 'get_fore_tile_info' [-Wunused-function] 106 | static void get_fore_tile_info(int tile_index) /* this is giving bad tiles... */ | ^~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/vmetal.c... In file included from src/drivers/dietgo.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/dietgo.c:166:49: warning: incompatible pointer types initializing 'size_t *' (aka 'unsigned long *') with an expression of type 'unsigned int *' [-Wincompatible-pointer-types] 166 | { 0x280000, 0x2807ff, MWA16_RAM, &spriteram16, &spriteram_size }, | ^~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/deco156.c... In file included from src/drivers/boogwing.c:52: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/pturn.c:77: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/dblewing.c:59: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/1945kiii.c... In file included from src/machine/seicop.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/seicop.c:1096:35: warning: result of comparison of constant 65535 with expression of type 'UINT8' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] 1096 | else if (pal_brightness_val == 0xffff) /* level transitions*/ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ 5 warnings generated. Compiling src/drivers/madalien.c... In file included from src/drivers/suprridr.c:82: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/model1_machine.c... Compiling src/vidhrdw/model1_vidhrdw.c... Compiling src/drivers/n8080.c... Compiling src/drivers/mirax.c... In file included from src/drivers/deco156.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/calorie.c... Compiling src/drivers/model1.c... In file included from src/drivers/1945kiii.c:43: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/vmetal.c:39: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/backfire.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/vidhrdw/suprridr_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mwarr.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/n8080.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mc8123.c... Compiling src/drivers/tatsumi.c... Compiling src/machine/namcoio_machine.c... Compiling src/vidhrdw/tatsumi.c... Compiling src/cpu/z80/z80.c... Compiling src/machine/tatsumi.c... Compiling src/cpu/adsp2100/adsp2100.c... In file included from src/drivers/madalien.c:87: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/mirax.c:70: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/drivers/model1.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/model1.c:211:38: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'float *' increases required alignment from 2 to 4 [-Wcast-align] 211 | logerror("MW 8[r10], %f (%x)\n", *(float *)(mr2+0x1f08/2), activecpu_get_pc()); | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/model1.c:213:38: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'float *' increases required alignment from 2 to 4 [-Wcast-align] 213 | logerror("MW c[r10], %f (%x)\n", *(float *)(mr2+0x1f0c/2), activecpu_get_pc()); | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/model1.c:215:38: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'float *' increases required alignment from 2 to 4 [-Wcast-align] 215 | logerror("MW 10[r10], %f (%x)\n", *(float *)(mr2+0x1f10/2), activecpu_get_pc()); | ^~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. In file included from src/vidhrdw/model1_vidhrdw.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/model1_vidhrdw.c:737:6: warning: variable 'dump' set but not used [-Wunused-but-set-variable] 737 | int dump; | ^ src/vidhrdw/model1_vidhrdw.c:941:23: warning: variable 'v1' set but not used [-Wunused-but-set-variable] 941 | UINT32 tex_adr, lum, v1, v2; | ^ src/vidhrdw/model1_vidhrdw.c:941:27: warning: variable 'v2' set but not used [-Wunused-but-set-variable] 941 | UINT32 tex_adr, lum, v1, v2; | ^ src/vidhrdw/model1_vidhrdw.c:1444:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 1444 | poly_rom = (UINT32 *)memory_region(REGION_USER1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/model1_vidhrdw.c:83:15: warning: unused function 'f2u' [-Wunused-function] 83 | static UINT32 f2u(float f) | ^~~ src/vidhrdw/model1_vidhrdw.c:482:15: warning: unused function 'scale_color' [-Wunused-function] 482 | static UINT16 scale_color(UINT16 color, float level) | ^~~~~~~~~~~ src/vidhrdw/model1_vidhrdw.c:703:28: warning: unused variable 'times' [-Wunused-const-variable] 703 | static const unsigned char times[]={1,1,1,1,2,2,2,3}; | ^~~~~ 11 warnings generated. Compiling src/cpu/i8085/i8085.c... In file included from src/drivers/tatsumi.c:71: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/z180/z180.c... In file included from src/drivers/calorie.c:80: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/h6280/h6280.c... Compiling src/cpu/i86/i86.c... In file included from src/machine/namcoio_machine.c:142: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/m6502/m6502.c... In file included from src/machine/model1_machine.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/model1_machine.c:976:27: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT32 *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 976 | const UINT32 *tgp_data = (const UINT32 *)memory_region(REGION_USER2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/model1_machine.c:1350:11: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1350 | float x, y, z; | ^ 6 warnings generated. Compiling src/cpu/nec/nec.c... In file included from src/machine/mc8123.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/v60/v60.c... In file included from src/machine/tatsumi.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/tatsumi.c:305:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 305 | const data16_t* rom=(data16_t*)memory_region(REGION_CPU2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. In file included from src/vidhrdw/tatsumi.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tatsumi.c:964:60: warning: passing 'const struct tilemap *' to parameter of type 'struct tilemap *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 964 | const struct mame_bitmap *src_bitmap = tilemap_get_pixmap(src); | ^~~ src/tilemap.h:149:58: note: passing argument to parameter 'tilemap' here 149 | struct mame_bitmap *tilemap_get_pixmap( struct tilemap * tilemap ); | ^ 5 warnings generated. Compiling src/cpu/i8039/i8039.c... Compiling src/cpu/i8x41/i8x41.c... Compiling src/cpu/m6800/m6800.c... Compiling src/cpu/v60/v60d.c... Compiling src/cpu/m6805/m6805.c... Compiling src/cpu/hd6309/hd6309.c... Compiling src/cpu/m6809/m6809.c... Compiling src/cpu/konami/konami.c... Compiling src/cpu/m68000/m68kops.c... In file included from src/cpu/i8085/i8085.c:90: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/i8085/i8085.c:172:13: warning: unused function 'illegal' [-Wunused-function] 172 | static void illegal(void) | ^~~~~~~ 5 warnings generated. Compiling src/cpu/m68000/m68kopac.c... Compiling src/cpu/m68000/m68kopdm.c... In file included from src/cpu/v60/v60d.c:2: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/adsp2100/adsp2100.c:15: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/adsp2100/adsp2100.c:217:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 217 | return *(UINT32 *)&OP_ROM[ADSP2100_PGM_OFFSET + addr]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/adsp2100/adsp2100.c:223:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 223 | ADSP2100_WRPGM(&OP_ROM[ADSP2100_PGM_OFFSET + addr], data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/adsp2100/adsp2100.h:114:31: note: expanded from macro 'ADSP2100_WRPGM' 114 | #define ADSP2100_WRPGM(A,V) (*(UINT32 *)(A) = (V) & 0xffffff) | ^~~~~~~~~~~~~ 6 warnings generated. Compiling src/cpu/m68000/m68kcpu.c... Compiling src/cpu/m68000/m68kopnz.c... In file included from src/cpu/i8039/i8039.c:41: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/m68000/m68kmame.c... Compiling src/cpu/t11/t11.c... In file included from src/cpu/m6805/m6805.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/m6805/m6805.c:531: src/cpu/m6805/6805ops.c:111:8: warning: variable 't' set but not used [-Wunused-but-set-variable] 111 | UINT8 t; | ^ src/cpu/m6805/m6805.c:284:20: warning: unused function 'WM16' [-Wunused-function] 284 | static INLINE void WM16( UINT32 Addr, PAIR *p ) | ^~~~ 6 warnings generated. Compiling src/cpu/s2650/s2650.c... Compiling src/cpu/tms34010/tms34010.c... In file included from src/cpu/h6280/h6280.c:61: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/i8x41/i8x41.c:61: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/i8x41/i8x41.c:432:54: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 432 | UINT8 res = A + ((PSW & FA) || ((A & 0x0f) > 0x09)) ? 0x06 : 0x00; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ src/cpu/i8x41/i8x41.c:432:54: note: place parentheses around the '+' expression to silence this warning 432 | UINT8 res = A + ((PSW & FA) || ((A & 0x0f) > 0x09)) ? 0x06 : 0x00; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ src/cpu/i8x41/i8x41.c:432:54: note: place parentheses around the '?:' expression to evaluate it first 432 | UINT8 res = A + ((PSW & FA) || ((A & 0x0f) > 0x09)) ? 0x06 : 0x00; | ^ | ( ) 5 warnings generated. Compiling src/cpu/tms9900/tms9980a.c... Compiling src/cpu/tms34010/34010fld.c... Compiling src/cpu/tms9900/tms9995.c... Compiling src/cpu/tms9900/tms9900.c... In file included from src/cpu/m68000/m68kcpu.c:42: In file included from src/cpu/m68000/m68kcpu.h:36: In file included from src/cpu/m68000/m68k.h:350: In file included from src/cpu/m68000/m68kmame.h:8: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:56:2: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 56 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:57:2: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 57 | "M68000", | ^~~~~~~~ src/cpu/m68000/m68kcpu.c:58:2: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 58 | "M68010", | ^~~~~~~~ src/cpu/m68000/m68kcpu.c:59:2: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 59 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:60:2: warning: initializing 'char *' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 60 | "M68EC020" | ^~~~~~~~~~ 61 | "Invalid CPU", | ~~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:62:2: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 62 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:63:2: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 63 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:64:2: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 64 | "M68020" | ^~~~~~~~ src/cpu/m68000/m68kcpu.c:804:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 804 | unsigned int m68k_context_size() | ^ | void 13 warnings generated. Compiling src/cpu/z8000/z8000.c... Compiling src/cpu/tms32010/tms32010.c... Compiling src/cpu/tms32025/tms32025.c... In file included from src/cpu/i86/i86.c:10: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/i86/i86.c:98: src/cpu/i86/instr86.c:1162:8: warning: variable 'ALcarry' set but not used [-Wunused-but-set-variable] 1162 | UINT8 ALcarry=1; | ^ In file included from src/cpu/i86/i86.c:452: src/cpu/i86/instr186.c:36:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 36 | unsigned tmp; | ^ 6 warnings generated. Compiling src/cpu/tms32031/tms32031.c... Compiling src/cpu/ccpu/ccpu.c... Compiling src/vidhrdw/cinemat_vidhrdw.c... In file included from src/cpu/tms34010/34010fld.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/m68000/m68kmame.c:3: In file included from src/cpu/m68000/m68k.h:350: In file included from src/cpu/m68000/m68kmame.h:8: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/mips/psx_cpu.c... Compiling src/cpu/asap/asap.c... Compiling src/cpu/upd7810/upd7810.c... In file included from src/cpu/m6502/m6502.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/m6502/m6502.c:154: src/cpu/m6502/tdeco16.c:185:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 185 | int tmp; m6502_ICount -= 2; RD_IMM; | ^ src/cpu/m6502/m6502.c:555:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 555 | void m6510_init () | ^ | void 6 warnings generated. In file included from src/cpu/tms9900/tms9900.c:5: In file included from src/cpu/tms9900/tms9900.h:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/jaguar/jaguar.c... Compiling src/cpu/mips/r3000.c... Compiling src/cpu/arm/arm.c... In file included from src/vidhrdw/cinemat_vidhrdw.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cinemat_vidhrdw.c:35:2: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 35 | lastx = tox; | ^ src/vidhrdw/cinemat_vidhrdw.c:32:5: note: previous statement is here 32 | else | ^ 5 warnings generated. Compiling src/cpu/mips/mips3.c... In file included from src/cpu/s2650/s2650.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/sh2/sh2.c... In file included from src/cpu/ccpu/ccpu.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/tms32010/tms32010.c:56: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/konami/konami.c:39: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/konami/konami.c:660: src/cpu/konami/konamops.c:328:8: warning: variable 't' set but not used [-Wunused-but-set-variable] 328 | UINT8 t; | ^ 5 warnings generated. In file included from src/cpu/tms9900/tms9980a.c:5: In file included from src/cpu/tms9900/tms9900.h:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/tms9900/tms9980a.c:9: src/cpu/tms9900/99xxcore.h:2895:11: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced] 2895 | value = readword(dest) ^ readword(src); | ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' 444 | #define readword(addr) ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) ) | ^ src/cpu/tms9900/99xxcore.h:2910:42: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced] 2910 | unsigned long prod = ((unsigned long) readword(dest)) * ((unsigned long) readword(src)); | ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' 444 | #define readword(addr) ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) ) | ^ src/cpu/tms9900/99xxcore.h:3161:11: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced] 3161 | value = readword(dest) & (~ readword(src)); | ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' 444 | #define readword(addr) ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) ) | ^ src/cpu/tms9900/99xxcore.h:3207:11: warning: multiple unsequenced modifications to 'tms9980a_ICount' [-Wunsequenced] 3207 | value = readword(dest) | readword(src); | ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' 444 | #define readword(addr) ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) ) | ^ 8 warnings generated. Compiling src/cpu/pic16c5x/pic16c5x.c... Compiling src/cpu/g65816/g65816.c... In file included from src/cpu/tms9900/tms9995.c:5: In file included from src/cpu/tms9900/tms9900.h:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/tms9900/tms9995.c:9: src/cpu/tms9900/99xxcore.h:503:12: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 503 | return *(UINT16 *)(& I.RAM[addr - 0xf000]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:525:12: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 525 | return *(UINT16 *)(& I.RAM[addr - 0xff00]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:539:5: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 539 | *(UINT16 *)(& I.RAM[addr - 0xf000]) = data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:555:5: warning: cast from 'unsigned char *' to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 555 | *(UINT16 *)(& I.RAM[addr - 0xff00]) = data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. In file included from src/cpu/tms32025/tms32025.c:127: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/tms32025/tms32025.c:1657:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1657 | R.intRAM = (UINT16 *)memory_region(REGION_CPU1 + cpu_getactivecpu()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/tms32025/tms32025.c:282:20: warning: unused function 'MODIFY_ARB' [-Wunused-function] 282 | static INLINE void MODIFY_ARB(int data) { R.STR1 &= ~ARB_REG; R.STR1 |= ((data << 13) & ARB_REG); R.STR1 |= 0x0180; } | ^~~~~~~~~~ 6 warnings generated. Compiling src/cpu/dsp32/dsp32.c... In file included from src/cpu/m6809/m6809.c:75: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/m6809/m6809.c:666: src/cpu/m6809/6809ops.c:410:8: warning: variable 't' set but not used [-Wunused-but-set-variable] 410 | UINT8 t; | ^ 5 warnings generated. In file included from src/cpu/asap/asap.c:18: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816o0.c... In file included from src/cpu/arm/arm.c:15: In file included from src/cpu/arm/arm.h:4: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816o1.c... In file included from src/cpu/nec/nec.c:52: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/nec/nec.c:374:14: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 374 | unsigned tmp; | ^ src/cpu/nec/nec.c:747:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] 747 | 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:748:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] 748 | OP( 0xd5, i_aad ) { UINT32 mult=FETCH; mult=0; I.regs.b[AL] = I.regs.b[AH] * 10 + I.regs.b[AL]; I.regs.b[AH] = 0; SetSZPF_Byte(I.regs.b[AL]); CLKS(7,7,8); } | ^ src/cpu/nec/nec.c:1205:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] 1205 | nec_Regs *r = context; | ^ src/cpu/nec/nec.c:1257:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] 1257 | nec_Regs *r = context; | ^ 9 warnings generated. In file included from src/cpu/g65816/g65816.c:83: In file included from src/cpu/g65816/g65816cm.h:16: In file included from src/cpu/g65816/g65816.h:164: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/hd6309/hd6309.c:88: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/hd6309/hd6309.c:761: src/cpu/hd6309/6309ops.c:500:8: warning: variable 't' set but not used [-Wunused-but-set-variable] 500 | UINT8 t; | ^ 5 warnings generated. In file included from src/cpu/z80/z80.c:81: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/z80/z80.c:4401:89: warning: cast to smaller integer type 'int' from 'int (*)(int)' [-Wpointer-to-int-cast] 4401 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Z80 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback); | ^~~~~~~~~~~~~ 5 warnings generated. Compiling src/cpu/g65816/g65816o2.c... In file included from src/cpu/pic16c5x/pic16c5x.c:62: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/jaguar/jaguar.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:576:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 576 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:622:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 622 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:924:27: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 924 | sprintf(buffer, "$%04X", ROPCODE(pc)); | ^~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:935:27: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 935 | sprintf(buffer, "$%04X", ROPCODE(pc)); | ^~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:1115:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1115 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:1122:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1122 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:1138:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1138 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:1155:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1155 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:1267:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1267 | UINT32 res = ROPCODE(jaguar.PC) | (ROPCODE(jaguar.PC + 2) << 16); | ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:1267:37: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1267 | UINT32 res = ROPCODE(jaguar.PC) | (ROPCODE(jaguar.PC + 2) << 16); | ^~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' 254 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. In file included from src/cpu/v60/v60.c:6: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816o3.c... Compiling src/cpu/g65816/g65816ds.c... Compiling src/cpu/spc700/spc700.c... In file included from src/cpu/mips/r3000.c:15: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/spc700/spc700ds.c... Compiling src/cpu/g65816/g65816o4.c... Compiling src/cpu/e132xs/e132xs.c... Compiling src/sound/samples.c... Compiling src/sound/dac.c... In file included from src/cpu/g65816/g65816ds.c:19: In file included from src/cpu/g65816/g65816ds.h:24: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/discrete.c... Compiling src/sound/2203intf.c... In file included from src/cpu/sh2/sh2.c:98: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/m6800/m6800.c:58: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/m6800/m6800.c:540: src/cpu/m6800/6800ops.c:251:8: warning: variable 't' set but not used [-Wunused-but-set-variable] 251 | UINT8 t; | ^ src/cpu/m6800/m6800.c:697:7: warning: variable 'eddge' set but not used [-Wunused-but-set-variable] 697 | int eddge; | ^ 6 warnings generated. In file included from src/cpu/m68000/m68kopnz.c:1: In file included from src/cpu/m68000/m68kcpu.h:36: In file included from src/cpu/m68000/m68k.h:350: In file included from src/cpu/m68000/m68kmame.h:8: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/2151intf.c... Compiling src/sound/ym2151.c... In file included from src/sound/samples.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/samples.c:58:4: warning: cast from 'signed char *' to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 58 | (short *) Machine->samples->sample[samplenum]->data, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/samples.c:137:19: warning: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion] 137 | leftSampleNum = NULL; | ^ ~~~~ src/sound/samples.c:140:20: warning: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion] 140 | rightSampleNum = NULL; | ^ ~~~~ src/sound/samples.c:128:23: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] 128 | if ( ( channel != 0) || (channel !=1) ) return; /* return normally if not matching ost channel specs */ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 8 warnings generated. In file included from src/sound/dac.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/2608intf.c... Compiling src/sound/2610intf.c... In file included from src/cpu/spc700/spc700ds.c:19: In file included from src/cpu/spc700/spc700ds.h:24: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/mips/mips3.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/dsp32/dsp32.c:39: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/dsp32/dsp32.c:654:14: warning: variable 'r' set but not used [-Wunused-but-set-variable] 654 | dsp32_regs *r = context; | ^ src/cpu/dsp32/dsp32.c:276:20: warning: unused function 'generate_exception' [-Wunused-function] 276 | static INLINE void generate_exception(int exception) | ^~~~~~~~~~~~~~~~~~ src/cpu/dsp32/dsp32.c:281:20: warning: unused function 'invalid_instruction' [-Wunused-function] 281 | static INLINE void invalid_instruction(UINT32 op) | ^~~~~~~~~~~~~~~~~~~ src/cpu/dsp32/dsp32.c:767:27: warning: unused function 'FINDCONTEXT' [-Wunused-function] 767 | static INLINE dsp32_regs *FINDCONTEXT(int cpu) | ^~~~~~~~~~~ 8 warnings generated. Compiling src/sound/ay8910.c... In file included from src/cpu/mips/psx_cpu.c:17: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/2612intf.c... Compiling src/sound/fm.c... In file included from src/sound/2151intf.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/2610intf.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ym2413.c... Compiling src/sound/ymz280b.c... In file included from src/sound/2203intf.c:2: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/spc700/spc700.c:69: In file included from src/cpu/spc700/spc700.h:133: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/spc700/spc700.c:366:20: warning: unused function 'read_8_instruction' [-Wunused-function] 366 | static INLINE uint read_8_instruction(uint address) | ^~~~~~~~~~~~~~~~~~ src/cpu/spc700/spc700.c:520:20: warning: unused function 'EA_DPI' [-Wunused-function] 520 | static INLINE uint EA_DPI(void) {return OPER_16_DP();} | ^~~~~~ src/cpu/spc700/spc700.c:622:20: warning: unused function 'SERVICE_IRQ' [-Wunused-function] 622 | static INLINE void SERVICE_IRQ(void) | ^~~~~~~~~~~ 7 warnings generated. Compiling src/sound/3812intf.c... Compiling src/sound/2413intf.c... Compiling src/sound/fmopl.c... In file included from src/sound/2608intf.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ymdeltat.c... In file included from src/cpu/z8000/z8000.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/z8000/z8000.c:302: src/cpu/z8000/z8000ops.c:616:28: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare] 616 | if (temp >= -0x80000000 && temp <= 0x7fffffff) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/cpu/z8000/z8000.c:712:78: warning: result of '2^REG_XOR' is 1; did you mean '1 << REG_XOR' (8)? [-Wxor-used-as-pow] 712 | case CPU_INFO_REG+Z8000_R2: sprintf(buffer[which], "R2 :%04X", r->regs.W[ 2^REG_XOR]); break; | ~^~~~~~~~ | 1 << REG_XOR src/cpu/z8000/z8000.c:712:78: note: replace expression with '0x2 ^ REG_XOR' to silence this warning src/cpu/z8000/z8000.c:720:79: warning: result of '10^REG_XOR' is 9; did you mean '1e3'? [-Wxor-used-as-pow] 720 | case CPU_INFO_REG+Z8000_R10: sprintf(buffer[which], "R10:%04X", r->regs.W[10^REG_XOR]); break; | ~~^~~~~~~~ | 1e3 src/cpu/z8000/z8000.c:720:79: note: replace expression with '0xA ^ REG_XOR' to silence this warning src/cpu/z8000/z8000.c:246:22: warning: unused function 'RDPORT_L' [-Wunused-function] 246 | static INLINE UINT32 RDPORT_L(int mode, UINT16 addr) | ^~~~~~~~ src/cpu/z8000/z8000.c:287:20: warning: unused function 'WRPORT_L' [-Wunused-function] 287 | static INLINE void WRPORT_L(int mode, UINT16 addr, UINT32 value) | ^~~~~~~~ 9 warnings generated. Compiling src/sound/sn76477.c... Compiling src/sound/sn76496.c... In file included from src/sound/2612intf.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/tiasound.c... Compiling src/sound/tiaintf.c... In file included from src/sound/3812intf.c:19: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/pokey.c... In file included from src/cpu/g65816/g65816o3.c:1: In file included from src/cpu/g65816/g65816cm.h:16: In file included from src/cpu/g65816/g65816.h:164: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/e132xs/e132xs.c:165: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/astrocde_snd.c... Compiling src/sound/namco.c... Compiling src/sound/nes_apu.c... In file included from src/cpu/g65816/g65816o2.c:1: In file included from src/cpu/g65816/g65816cm.h:16: In file included from src/cpu/g65816/g65816.h:164: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/namco52.c... In file included from src/sound/ym2151.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/ym2151.c:1581:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1581 | void YM2151Shutdown() | ^ | void 5 warnings generated. Compiling src/sound/namco54.c... In file included from src/sound/ymdeltat.c:65: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/ay8910.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/ymz280b.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/5110intf.c... Compiling src/sound/tms36xx.c... Compiling src/sound/tms5220.c... In file included from src/sound/tiaintf.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/tiaintf.c:15:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 15 | channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process); | ^ src/sound/tiaintf.c:12:5: note: previous statement is here 12 | if (Machine->sample_rate == 0) | ^ 5 warnings generated. Compiling src/sound/5220intf.c... Compiling src/sound/tms5110.c... Compiling src/sound/namcona.c... In file included from src/sound/discrete.c:37: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sound/discrete.c:123: src/sound/disc_wav.c:542:79: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] 542 | node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ src/sound/disc_wav.c:542:79: note: place parentheses around the '-' expression to silence this warning 542 | node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; | ^ | ( ) src/sound/disc_wav.c:542:79: note: place parentheses around the '?:' expression to evaluate it first 542 | node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sound/discrete.c:124: src/sound/disc_mth.c:910:55: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 910 | context->dir = ((node->input[4] - node->input[3]) == abs(node->input[4] - node->input[3])); | ^ src/sound/disc_mth.c:910:55: note: use function 'fabs' instead 910 | context->dir = ((node->input[4] - node->input[3]) == abs(node->input[4] - node->input[3])); | ^~~ | fabs src/sound/discrete.c:332:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 332 | disclogfile = NULL; | ^ src/sound/discrete.c:330:6: note: previous statement is here 330 | if (disclogfile) | ^ 7 warnings generated. Compiling src/sound/vlm5030.c... In file included from src/sound/namco52.c:47: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/z180/z180.c:22: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/z180/z180.c:763: src/cpu/z180/z180op.c:516:18: warning: array index 78 is past the end of the array (that has type 'UINT8[64]' (aka 'unsigned char[64]')) [-Warray-bounds] 516 | irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2; | ^ ~~~~~~~ src/cpu/z180/z180.c:73:10: note: array 'io' declared here 73 | /* 40 */ UINT8 io[64]; /* 64 internal 8 bit registers */ | ^ src/cpu/z180/z180.c:2439:90: warning: cast to smaller integer type 'int' from 'int (*)(int)' [-Wpointer-to-int-cast] 2439 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Z180 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback); | ^~~~~~~~~~~~~ 6 warnings generated. In file included from src/sound/ym2413.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/ym2413.c:1664:28: warning: bitwise comparison always evaluates to false [-Wtautological-bitwise-compare] 1664 | if ((chip->rhythm&0x20)==1) | ~~~~~~~~~~~~~~~~~~~^~~ src/sound/ym2413.c:1940:10: warning: cast from 'char *' to 'YM2413 *' increases required alignment from 1 to 8 [-Wcast-align] 1940 | chip = (YM2413 *)ptr; | ^~~~~~~~~~~~~ 6 warnings generated. In file included from src/sound/namco54.c:34: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/adpcm.c... Compiling src/sound/msm5205.c... Compiling src/sound/msm5232.c... In file included from src/sound/2413intf.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/astrocde_snd.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/upd7759.c... In file included from src/cpu/g65816/g65816o4.c:1: In file included from src/cpu/g65816/g65816cm.h:16: In file included from src/cpu/g65816/g65816.h:164: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/g65816/g65816o1.c:1: In file included from src/cpu/g65816/g65816cm.h:16: In file included from src/cpu/g65816/g65816.h:164: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/nes_apu.c:41: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/hc55516.c... Compiling src/sound/k007232.c... In file included from src/sound/5220intf.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/k005289.c... Compiling src/sound/k051649.c... Compiling src/sound/k053260.c... Compiling src/sound/k054539.c... In file included from src/sound/sn76496.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/5110intf.c:17: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/tiasound.c:40: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/segapcm.c... Compiling src/sound/rf5c68.c... Compiling src/sound/cem3394.c... In file included from src/sound/namco.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/c140.c... In file included from src/sound/sn76477.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/tms5110.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/tms5110.c:406:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 406 | buffer[buf_count] = -128<<8; | ~~~~^ 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/tms5110.c:496:19: warning: variable 'old_count' set but not used [-Wunused-but-set-variable] 496 | int old_head, old_count; | ^ 7 warnings generated. Compiling src/sound/qsound.c... In file included from src/cpu/m68000/m68kopac.c:1: In file included from src/cpu/m68000/m68kcpu.h:36: In file included from src/cpu/m68000/m68k.h:350: In file included from src/cpu/m68000/m68kmame.h:8: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/saa1099.c... In file included from src/sound/fmopl.c:74: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/fmopl.c:1842:9: warning: cast from 'char *' to 'FM_OPL *' (aka 'struct fm_opl_f *') increases required alignment from 1 to 8 [-Wcast-align] 1842 | OPL = (FM_OPL *)ptr; | ^~~~~~~~~~~~~ src/sound/fmopl.c:1849:17: warning: cast from 'char *' to 'YM_DELTAT *' (aka 'struct deltat_adpcm_state *') increases required alignment from 1 to 8 [-Wcast-align] 1849 | OPL->deltat = (YM_DELTAT *)ptr; | ^~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/sound/iremga20.c... In file included from src/sound/msm5205.c:21: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/tms36xx.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/k051649.c:25: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/hc55516.c:1: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/es5506.c... Compiling src/sound/bsmt2000.c... In file included from src/sound/vlm5030.c:76: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/vlm5030.c:387:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 387 | buffer[buf_count] = -511<<6; | ~~~~^ 5 warnings generated. In file included from src/sound/adpcm.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/g65816/g65816o0.c:1: In file included from src/cpu/g65816/g65816cm.h:16: In file included from src/cpu/g65816/g65816.h:164: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/m68000/m68kopdm.c:1: In file included from src/cpu/m68000/m68kcpu.h:36: In file included from src/cpu/m68000/m68k.h:350: In file included from src/cpu/m68000/m68kmame.h:8: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/k007232.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/namcona.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/namcona.c:615:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 615 | mpROM = (data16_t *)memory_region(REGION_CPU1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/sound/262intf.c... Compiling src/sound/ymf278b.c... Compiling src/sound/ymf262.c... In file included from src/sound/fm.c:119: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/fm.c:1180:8: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] 1180 | UINT8 prev_pos; | ^ src/sound/fm.c:3677:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3677 | void YM2608Shutdown() | ^ | void src/sound/fm.c:4383:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 4383 | void YM2610Shutdown() | ^ | void src/sound/fm.c:4856:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 4856 | void YM2612Shutdown() | ^ | void 8 warnings generated. In file included from src/sound/tms5220.c:15: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/tms5220.c:586:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 586 | buffer[buf_count] = -128<<8; | ~~~~^ src/sound/tms5220.c:789:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 789 | if ((! the_first_frame) && (old_energy == (energytable[15] >> 6))) | ^ src/sound/tms5220.c:785:5: note: previous statement is here 785 | for (i = 0; i < 10; i++) | ^ 6 warnings generated. In file included from src/sound/msm5232.c:6: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/gaelco_snd.c... Compiling src/sound/x1_010.c... In file included from src/sound/cem3394.c:14: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/bsmt2000.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/segapcm.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/c6280.c... Compiling src/sound/sp0250.c... In file included from src/sound/k053260.c:7: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/k005289.c:28: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/k054539.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/k054539.c:152:10: warning: cast from 'unsigned char *' to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 152 | rbase = (short *)(K054539_chips.chip[chip].ram); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/k054539.c:133:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~~^ src/sound/k054539.c:133:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~~^ src/sound/k054539.c:133:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~~^ src/sound/k054539.c:133:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~~^ src/sound/k054539.c:133:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~~^ src/sound/k054539.c:133:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~^ src/sound/k054539.c:133:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~^ src/sound/k054539.c:133:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 133 | -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 | ~~^ 13 warnings generated. Compiling src/sound/multipcm.c... In file included from src/sound/rf5c68.c:5: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/scsp.c... In file included from src/cpu/tms32031/tms32031.c:17: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/tms32031/tms32031.c:425: src/cpu/tms32031/32031ops.c:487:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 487 | else if (man >= ((INT64)2 << 31) || man < ((INT64)-2 << 31)) | ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:494:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 494 | else if (man < ((INT64)1 << 31) && man >= ((INT64)-1 << 31)) | ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:592:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 592 | else if (man >= ((INT64)2 << 31) || man < ((INT64)-2 << 31)) | ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:599:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 599 | else if (man < ((INT64)1 << 31) && man >= ((INT64)-1 << 31)) | ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:699:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 699 | else if (man < ((INT64)-2 << 31)) | ~~~~~~~~~ ^ src/cpu/tms32031/tms32031.c:748:15: warning: variable 'control' set but not used [-Wunused-but-set-variable] 748 | UINT32 bits, control, advance; | ^ src/cpu/tms32031/tms32031.c:264:20: warning: unused function 'generate_exception' [-Wunused-function] 264 | static INLINE void generate_exception(int exception) | ^~~~~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:269:20: warning: unused function 'invalid_instruction' [-Wunused-function] 269 | static INLINE void invalid_instruction(UINT32 op) | ^~~~~~~~~~~~~~~~~~~ 12 warnings generated. In file included from src/sound/saa1099.c:66: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/psx.c... Compiling src/sound/ymf271.c... In file included from src/sound/c140.c:24: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/qsound.c:35: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ics2115.c... Compiling src/lib/mame-chd/chd.c... Compiling src/lib/mame-chd/mame_sha1.c... In file included from src/sound/upd7759.c:104: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/iremga20.c:26: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/262intf.c:8: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/libretro-deps/libFLAC/bitreader.c... Compiling src/libretro-deps/libFLAC/cpu.c... Compiling src/libretro-deps/libFLAC/crc.c... Compiling src/libretro-deps/libFLAC/fixed.c... Compiling src/libretro-deps/libFLAC/float.c... Compiling src/libretro-deps/libFLAC/format.c... Compiling src/libretro-deps/libFLAC/lpc.c... In file included from src/sound/gaelco_snd.c:36: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/ymf278b.c:30: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/x1_010.c:53: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. src/libretro-deps/libFLAC/cpu.c:99:23: warning: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSE3' [-Wunused-const-variable] 99 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:100:23: warning: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSSE3' [-Wunused-const-variable] 100 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:101:23: warning: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSE41' [-Wunused-const-variable] 101 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:102:23: warning: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSE42' [-Wunused-const-variable] 102 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/sp0250.c:18: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/libretro-deps/libFLAC/md5.c... Compiling src/libretro-deps/libFLAC/memory.c... Compiling src/libretro-deps/libFLAC/stream_decoder.c... Compiling src/libretro-deps/libFLAC/window.c... In file included from src/sound/psx.c:11: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/psx.c:54:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 54 | return *( (data32_t *)&m_p_n_ram[ n_address ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/psx.c:59:5: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 59 | *( (data32_t *)&m_p_n_ram[ n_address ] ) = n_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. In file included from src/sound/c6280.c:60: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/libretro-common/compat/compat_posix_string.c... In file included from src/sound/multipcm.c:33: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/multipcm.c:407:23: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] 407 | pt_abs = (double)abs(pitch); | ^~~~~~~~~~ 5 warnings generated. Compiling src/libretro-common/compat/compat_strcasestr.c... Compiling src/libretro-common/compat/compat_strl.c... Compiling src/libretro-common/compat/compat_snprintf.c... In file included from src/sound/ics2115.c:9: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/ymf271.c:16: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/libretro-common/compat/fopen_utf8.c... src/lib/mame-chd/chd.c:257:20: warning: unused function 'assemble_old_map_entry' [-Wunused-function] 257 | static INLINE void assemble_old_map_entry(UINT8 *base, struct map_entry *entry) | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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... src/libretro-deps/libFLAC/md5.c:281:25: warning: cast from 'FLAC__byte *' (aka 'unsigned char *') to 'FLAC__int16 *' (aka 'short *') increases required alignment from 1 to 2 [-Wcast-align] 281 | FLAC__int16 *buf1_ = ((FLAC__int16*)buf_) + 1; | ^~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/md5.c:287:24: warning: cast from 'FLAC__byte *' (aka 'unsigned char *') to 'FLAC__int16 *' (aka 'short *') increases required alignment from 1 to 2 [-Wcast-align] 287 | FLAC__int16 *buf1_ = (FLAC__int16*)buf_; | ^~~~~~~~~~~~~~~~~~ 2 warnings generated. 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... In file included from src/sound/scsp.c:23: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:385:24: warning: 'memset' call operates on objects of type 'struct _SCSP' while the size is based on a different type 'struct _SCSP *' [-Wsizeof-pointer-memaccess] 385 | memset(SCSP,0,sizeof(SCSP)); | ~~~~ ^~~~ src/sound/scsp.c:385:24: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 385 | memset(SCSP,0,sizeof(SCSP)); | ^~~~ src/sound/scsp.c:638:5: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] 638 | *((unsigned short *) (SCSP->Slots[slot].udata.datab+(addr))) = val; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:646:5: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] 646 | *((unsigned short *) (SCSP->udata.datab+((addr&0xff)))) = val; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:666:7: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] 666 | v=*((unsigned short *) (SCSP->Slots[slot].udata.datab+(addr))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:674:8: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] 674 | v= *((unsigned short *) (SCSP->udata.datab+((addr&0xff)))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:809:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:809:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:809:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:809:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:809:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:809:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:809:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:809:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:810:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:810:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:810:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:810:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:810:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:810:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:810:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:810:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:811:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:811:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:811:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:811:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:811:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:811:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:811:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:811:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:812:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:812:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:812:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:812:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:812:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:812:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:812:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:812:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:813:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:813:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:813:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:813:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:813:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:813:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:813:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:813:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:814:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:814:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:814:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:814:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:814:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:814:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:814:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:814:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:815:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:815:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:815:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:815:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:815:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:815:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:815:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:815:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:816:1: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:816:1: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:816:19: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:816:19: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:816:37: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:816:37: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:816:55: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 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:752:20: note: expanded from macro 'SCSPTMPL' 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:816:55: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] src/sound/scsp.c:753:15: note: expanded from macro 'SCSPTMPL' 753 | signed int fpart;\ | ^ src/sound/scsp.c:896:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 896 | static void dma_scsp() | ^ | void src/sound/scsp.c:900:14: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 900 | scsp_regs = (UINT16 *)SCSP->udata.datab; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:912:3: warning: array index 2 is past the end of the array (that has type 'UINT16[2]' (aka 'unsigned short[2]')) [-Warray-bounds] 912 | tmp_dma[2] = scsp_regs[0x416/2]; | ^ ~ src/sound/scsp.c:898:2: note: array 'tmp_dma' declared here 898 | static UINT16 tmp_dma[2], *scsp_regs; | ^ src/sound/scsp.c:939:24: warning: array index 2 is past the end of the array (that has type 'UINT16[2]' (aka 'unsigned short[2]')) [-Warray-bounds] 939 | scsp_regs[0x416/2] = tmp_dma[2]; | ^ ~ src/sound/scsp.c:898:2: note: array 'tmp_dma' declared here 898 | static UINT16 tmp_dma[2], *scsp_regs; | ^ src/sound/scsp.c:1018:14: warning: cast from 'data8_t *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 1018 | scsp_regs = (UINT16 *)SCSP->udata.datab; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 warnings generated. Compiling src/libretro-common/time/rtime.c... Compiling src/lib/zlib/adler32.c... In file included from src/sound/pokey.c:50: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/sound/ymf262.c:46: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/ymf262.c:2085:39: warning: converting the result of '<<' to a boolean; did you mean '(CH->SLOT[0].CON << 1) != 0'? [-Wint-in-bool-context] 2085 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); | ^ src/sound/ymf262.c:2085:71: warning: converting the result of '<<' to a boolean; did you mean '((CH + 3)->SLOT[0].CON << 0) != 0'? [-Wint-in-bool-context] 2085 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); | ^ src/sound/ymf262.c:2137:43: warning: converting the result of '<<' to a boolean; did you mean '((CH - 3)->SLOT[0].CON << 1) != 0'? [-Wint-in-bool-context] 2137 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); | ^ src/sound/ymf262.c:2137:71: warning: converting the result of '<<' to a boolean; did you mean '(CH->SLOT[0].CON << 0) != 0'? [-Wint-in-bool-context] 2137 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); | ^ 8 warnings generated. Compiling src/lib/zlib/crc32.c... Compiling src/lib/zlib/deflate.c... In file included from src/sound/es5506.c:13: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/es5506.c:943:49: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 943 | es5506[i].region_base[0] = intf->region0[i] ? (UINT16 *)memory_region(intf->region0[i]) : NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/es5506.c:944:49: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 944 | es5506[i].region_base[1] = intf->region1[i] ? (UINT16 *)memory_region(intf->region1[i]) : NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/es5506.c:945:49: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 945 | es5506[i].region_base[2] = intf->region2[i] ? (UINT16 *)memory_region(intf->region2[i]) : NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/es5506.c:946:49: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 946 | es5506[i].region_base[3] = intf->region3[i] ? (UINT16 *)memory_region(intf->region3[i]) : NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. 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/libretro-common/string/stdstring.c:644:38: warning: result of comparison of constant 128 with expression of type 'const char' is always true [-Wtautological-constant-out-of-range-compare] 644 | if (str[i] > 0x1F && str[i] < 0x80) | ~~~~~~ ^ ~~~~ 1 warning generated. src/libretro-common/utils/md5.c:110:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 110 | MD5_STEP(MD5_F, a, b, c, d, MD5_SET(0), 0xd76aa478, 7) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:111:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 111 | MD5_STEP(MD5_F, d, a, b, c, MD5_SET(1), 0xe8c7b756, 12) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:112:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 112 | MD5_STEP(MD5_F, c, d, a, b, MD5_SET(2), 0x242070db, 17) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:113:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 113 | MD5_STEP(MD5_F, b, c, d, a, MD5_SET(3), 0xc1bdceee, 22) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:114:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 114 | MD5_STEP(MD5_F, a, b, c, d, MD5_SET(4), 0xf57c0faf, 7) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:115:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 115 | MD5_STEP(MD5_F, d, a, b, c, MD5_SET(5), 0x4787c62a, 12) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:116:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 116 | MD5_STEP(MD5_F, c, d, a, b, MD5_SET(6), 0xa8304613, 17) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:117:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 117 | MD5_STEP(MD5_F, b, c, d, a, MD5_SET(7), 0xfd469501, 22) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:118:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 118 | MD5_STEP(MD5_F, a, b, c, d, MD5_SET(8), 0x698098d8, 7) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:119:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 119 | MD5_STEP(MD5_F, d, a, b, c, MD5_SET(9), 0x8b44f7af, 12) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:120:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 120 | MD5_STEP(MD5_F, c, d, a, b, MD5_SET(10), 0xffff5bb1, 17) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:121:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 121 | MD5_STEP(MD5_F, b, c, d, a, MD5_SET(11), 0x895cd7be, 22) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:122:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 122 | MD5_STEP(MD5_F, a, b, c, d, MD5_SET(12), 0x6b901122, 7) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:123:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 123 | MD5_STEP(MD5_F, d, a, b, c, MD5_SET(13), 0xfd987193, 12) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:124:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 124 | MD5_STEP(MD5_F, c, d, a, b, MD5_SET(14), 0xa679438e, 17) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:125:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 125 | MD5_STEP(MD5_F, b, c, d, a, MD5_SET(15), 0x49b40821, 22) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:128:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 128 | MD5_STEP(MD5_G, a, b, c, d, MD5_GET(1), 0xf61e2562, 5) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:129:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 129 | MD5_STEP(MD5_G, d, a, b, c, MD5_GET(6), 0xc040b340, 9) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:130:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 130 | MD5_STEP(MD5_G, c, d, a, b, MD5_GET(11), 0x265e5a51, 14) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:131:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 131 | MD5_STEP(MD5_G, b, c, d, a, MD5_GET(0), 0xe9b6c7aa, 20) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:132:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 132 | MD5_STEP(MD5_G, a, b, c, d, MD5_GET(5), 0xd62f105d, 5) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:133:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 133 | MD5_STEP(MD5_G, d, a, b, c, MD5_GET(10), 0x02441453, 9) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:134:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 134 | MD5_STEP(MD5_G, c, d, a, b, MD5_GET(15), 0xd8a1e681, 14) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:135:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 135 | MD5_STEP(MD5_G, b, c, d, a, MD5_GET(4), 0xe7d3fbc8, 20) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:136:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 136 | MD5_STEP(MD5_G, a, b, c, d, MD5_GET(9), 0x21e1cde6, 5) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:137:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 137 | MD5_STEP(MD5_G, d, a, b, c, MD5_GET(14), 0xc33707d6, 9) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:138:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 138 | MD5_STEP(MD5_G, c, d, a, b, MD5_GET(3), 0xf4d50d87, 14) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:139:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 139 | MD5_STEP(MD5_G, b, c, d, a, MD5_GET(8), 0x455a14ed, 20) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:140:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 140 | MD5_STEP(MD5_G, a, b, c, d, MD5_GET(13), 0xa9e3e905, 5) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:141:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 141 | MD5_STEP(MD5_G, d, a, b, c, MD5_GET(2), 0xfcefa3f8, 9) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:142:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 142 | MD5_STEP(MD5_G, c, d, a, b, MD5_GET(7), 0x676f02d9, 14) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:143:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 143 | MD5_STEP(MD5_G, b, c, d, a, MD5_GET(12), 0x8d2a4c8a, 20) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:146:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 146 | MD5_STEP(MD5_H, a, b, c, d, MD5_GET(5), 0xfffa3942, 4) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:147:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 147 | MD5_STEP(MD5_H2, d, a, b, c, MD5_GET(8), 0x8771f681, 11) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:148:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 148 | MD5_STEP(MD5_H, c, d, a, b, MD5_GET(11), 0x6d9d6122, 16) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:149:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 149 | MD5_STEP(MD5_H2, b, c, d, a, MD5_GET(14), 0xfde5380c, 23) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:150:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 150 | MD5_STEP(MD5_H, a, b, c, d, MD5_GET(1), 0xa4beea44, 4) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:151:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 151 | MD5_STEP(MD5_H2, d, a, b, c, MD5_GET(4), 0x4bdecfa9, 11) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:152:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 152 | MD5_STEP(MD5_H, c, d, a, b, MD5_GET(7), 0xf6bb4b60, 16) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:153:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 153 | MD5_STEP(MD5_H2, b, c, d, a, MD5_GET(10), 0xbebfbc70, 23) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:154:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 154 | MD5_STEP(MD5_H, a, b, c, d, MD5_GET(13), 0x289b7ec6, 4) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:155:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 155 | MD5_STEP(MD5_H2, d, a, b, c, MD5_GET(0), 0xeaa127fa, 11) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:156:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 156 | MD5_STEP(MD5_H, c, d, a, b, MD5_GET(3), 0xd4ef3085, 16) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:157:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 157 | MD5_STEP(MD5_H2, b, c, d, a, MD5_GET(6), 0x04881d05, 23) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:158:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 158 | MD5_STEP(MD5_H, a, b, c, d, MD5_GET(9), 0xd9d4d039, 4) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:159:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 159 | MD5_STEP(MD5_H2, d, a, b, c, MD5_GET(12), 0xe6db99e5, 11) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:160:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 160 | MD5_STEP(MD5_H, c, d, a, b, MD5_GET(15), 0x1fa27cf8, 16) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:161:32: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 161 | MD5_STEP(MD5_H2, b, c, d, a, MD5_GET(2), 0xc4ac5665, 23) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:164:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 164 | MD5_STEP(MD5_I, a, b, c, d, MD5_GET(0), 0xf4292244, 6) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:165:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 165 | MD5_STEP(MD5_I, d, a, b, c, MD5_GET(7), 0x432aff97, 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:166:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 166 | MD5_STEP(MD5_I, c, d, a, b, MD5_GET(14), 0xab9423a7, 15) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:167:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 167 | MD5_STEP(MD5_I, b, c, d, a, MD5_GET(5), 0xfc93a039, 21) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:168:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 168 | MD5_STEP(MD5_I, a, b, c, d, MD5_GET(12), 0x655b59c3, 6) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:169:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 169 | MD5_STEP(MD5_I, d, a, b, c, MD5_GET(3), 0x8f0ccc92, 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:170:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 170 | MD5_STEP(MD5_I, c, d, a, b, MD5_GET(10), 0xffeff47d, 15) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:171:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 171 | MD5_STEP(MD5_I, b, c, d, a, MD5_GET(1), 0x85845dd1, 21) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:172:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 172 | MD5_STEP(MD5_I, a, b, c, d, MD5_GET(8), 0x6fa87e4f, 6) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:173:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 173 | MD5_STEP(MD5_I, d, a, b, c, MD5_GET(15), 0xfe2ce6e0, 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:174:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 174 | MD5_STEP(MD5_I, c, d, a, b, MD5_GET(6), 0xa3014314, 15) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:175:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 175 | MD5_STEP(MD5_I, b, c, d, a, MD5_GET(13), 0x4e0811a1, 21) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:176:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 176 | MD5_STEP(MD5_I, a, b, c, d, MD5_GET(4), 0xf7537e82, 6) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:177:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 177 | MD5_STEP(MD5_I, d, a, b, c, MD5_GET(11), 0xbd3af235, 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:178:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 178 | MD5_STEP(MD5_I, c, d, a, b, MD5_GET(2), 0x2ad7d2bb, 15) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ src/libretro-common/utils/md5.c:179:31: warning: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 179 | MD5_STEP(MD5_I, b, c, d, a, MD5_GET(9), 0xeb86d391, 21) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-common/utils/md5.c:74:2: note: expanded from macro 'MD5_GET' 74 | MD5_SET(n) | ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' 72 | (*(MD5_u32plus *)&ptr[(n) * 4]) | ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' 58 | (a) += f((b), (c), (d)) + (x) + (t); \ | ^ 64 warnings generated. src/lib/zlib/zutil.c:14:4: warning: initializing 'char *const' with an expression of type 'const char[16]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 14 | "need dictionary", /* Z_NEED_DICT 2 */ | ^~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:15:4: warning: initializing 'char *const' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 15 | "stream end", /* Z_STREAM_END 1 */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:16:4: warning: initializing 'char *const' with an expression of type 'const char[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 16 | "", /* Z_OK 0 */ | ^~ src/lib/zlib/zutil.c:17:4: warning: initializing 'char *const' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 17 | "file error", /* Z_ERRNO (-1) */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:18:4: warning: initializing 'char *const' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 18 | "stream error", /* Z_STREAM_ERROR (-2) */ | ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:19:4: warning: initializing 'char *const' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 19 | "data error", /* Z_DATA_ERROR (-3) */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:20:4: warning: initializing 'char *const' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 20 | "insufficient memory", /* Z_MEM_ERROR (-4) */ | ^~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:21:4: warning: initializing 'char *const' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 21 | "buffer error", /* Z_BUF_ERROR (-5) */ | ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:22:4: warning: initializing 'char *const' with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 22 | "incompatible version",/* Z_VERSION_ERROR (-6) */ | ^~~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:23:4: warning: initializing 'char *const' with an expression of type 'const char[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 23 | ""}; | ^~ 10 warnings generated. In file included from src/cpu/upd7810/upd7810.c:375: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from src/cpu/tms34010/tms34010.c:12: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/tms34010/tms34010.c:727: In file included from src/cpu/tms34010/34010gfx.c:749: src/cpu/tms34010/34010gfx.c:1146:14: warning: shift count >= width of type [-Wshift-count-overflow] 1146 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] 1149 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] 1187 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] 1190 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] 1225 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] 1228 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] 1388 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] 1396 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] 1428 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] 1436 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] 1464 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] 1472 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] 1621 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] 1657 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] 1690 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] 1814 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] 1849 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] 1881 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ In file included from src/cpu/tms34010/tms34010.c:727: In file included from src/cpu/tms34010/34010gfx.c:795: src/cpu/tms34010/34010gfx.c:1146:14: warning: shift count >= width of type [-Wshift-count-overflow] 1146 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] 1149 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] 1187 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] 1190 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] 1225 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] 1228 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] 1388 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] 1396 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] 1428 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] 1436 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] 1464 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] 1472 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] 1621 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] 1657 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] 1690 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] 1814 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] 1849 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] 1881 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ In file included from src/cpu/tms34010/tms34010.c:727: In file included from src/cpu/tms34010/34010gfx.c:842: src/cpu/tms34010/34010gfx.c:1146:14: warning: shift count >= width of type [-Wshift-count-overflow] 1146 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] 1149 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] 1187 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] 1190 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] 1225 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] 1228 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] 1388 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] 1396 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] 1428 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] 1436 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] 1464 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] 1472 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] 1621 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] 1657 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] 1690 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] 1814 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] 1849 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] 1881 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ In file included from src/cpu/tms34010/tms34010.c:727: In file included from src/cpu/tms34010/34010gfx.c:888: src/cpu/tms34010/34010gfx.c:1146:14: warning: shift count >= width of type [-Wshift-count-overflow] 1146 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] 1149 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] 1187 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] 1190 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] 1225 | srcmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] 1228 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] 1388 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] 1396 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] 1428 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] 1436 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] 1464 | srcmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] 1472 | dstmask >>= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] 1621 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] 1657 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] 1690 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] 1814 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] 1849 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] 1881 | dstmask <<= BITS_PER_PIXEL; | ^ ~~~~~~~~~~~~~~ 76 warnings generated. In file included from src/cpu/t11/t11.c:17: In file included from src/cpuintrf.h:13: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 916 | static INLINE data16_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:35: note: expanded from macro 'cpu_readop16_unsafe' 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 917 | static INLINE data32_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:35: note: expanded from macro 'cpu_readop32_unsafe' 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 919 | static INLINE data16_t cpu_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:38: note: expanded from macro 'cpu_readop_arg16_unsafe' 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 920 | static INLINE 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:38: note: expanded from macro 'cpu_readop_arg32_unsafe' 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/t11/t11.c:111:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 111 | return *(UINT16 *)(&t11.bank[pc >> 13][pc & 0x1fff]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. src/lib/zlib/inflate.c:1484:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1484 | return -1L << 16; | ~~~ ^ 1 warning generated. Linking mame2003_plus_libretro.so... platform unix =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for libretro-mame2003_plus-0.20231023 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/games/libretro-mame2003_plus/work/stage//usr/local/lib/libretro install -s -m 0644 /wrkdirs/usr/ports/games/libretro-mame2003_plus/work/mame2003-plus-libretro-79aee414b6f5ab70a6eb257f9273550423e11356/mame2003_plus_libretro.so /wrkdirs/usr/ports/games/libretro-mame2003_plus/work/stage//usr/local/lib/libretro ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-11T15:28:27+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for libretro-mame2003_plus-0.20231023 ===> Building libretro-mame2003_plus-0.20231023 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for libretro-mame2003_plus-0.20231023 build of games/libretro-mame2003_plus | libretro-mame2003_plus-0.20231023 ended at Thu Dec 11 10:34:49 EST 2025 build time: 00:06:35