=>> Building games/libretro-mame2003_plus build started at Tue Apr 2 22:52:48 BST 2024 port directory: /usr/ports/games/libretro-mame2003_plus package name: libretro-mame2003_plus-0.20231023 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 829 Mar 13 17:24 /usr/ports/games/libretro-mame2003_plus/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 955c0beb24 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 16 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" --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=/ccache/libexec/ccache:/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_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-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] 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 =========================================================================== =================================================== ===== 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... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/mame2003/core_options.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] static struct retro_core_option_v2_definition option_def_cyclone_mode = { ^ 6 warnings generated. Compiling src/mame2003/video.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass8888, uint32_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_pass1555, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_passpal, uint16_t, uint32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:301:24: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:348:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:302:26: note: expanded from macro 'CONVERT_NOSWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:336:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:338:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:340:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:324:24: note: expanded from macro 'CONVERT_SWAP' 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] CONVERT(pix_convert_palto565, uint16_t, uint16_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:350:25: note: expanded from macro 'CONVERT' CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:342:13: note: expanded from macro 'CONVERT_CHOOSE' CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:325:26: note: expanded from macro 'CONVERT_SWAP' TYPE_OUT *out = (TYPE_OUT*)output;\ ^~~~~~~~~~~~~~~~~ 69 warnings generated. Compiling src/artwork.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] for (tmp = list; tmp->type != OVERLAY_TYPE_END; count++) ^ ~~~~ 6 warnings generated. Compiling src/bootstrap.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cheat.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int pressed = 0; ^ src/cheat.c:2005:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] (int)menuStrings.mainList, ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2006:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] (int)menuStrings.subList, ^~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2007:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (int)menuStrings.flagList, ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2008:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] (int)menuStrings.mainStrings, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2009:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] (int)menuStrings.subStrings, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2010:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (int)menuStrings.buf); ^~~~~~~~~~~~~~~~~~~~ src/cheat.c:4876:15: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable] 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] UINT32 handlerAddress = (UINT32)handler; ^~~~~~~~~~~~~~~ src/cheat.c:7718:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if( (options.content_flags[CONTENT_NEOGEO]) && ^ src/cheat.c:7713:4: note: previous statement is here 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] 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] (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] 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] 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] (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] 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] 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] 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] 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] case (UINT32)MWA_RAMROM: strcpy(desc, "RAMROM"); break; ^~~~~~~~~~~~~~~~~~ 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] 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] 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] *((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] *((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] *((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] *((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] !region->flags & kRegionFlag_Enabled) ^ ~ src/cheat.c:8941:5: note: add parentheses after the '!' to evaluate the bitwise operator first !region->flags & kRegionFlag_Enabled) ^ ( ) src/cheat.c:8941:5: note: add parentheses around left hand side expression to silence this warning !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] !region->flags & kRegionFlag_Enabled) ^ ~ src/cheat.c:8984:5: note: add parentheses after the '!' to evaluate the bitwise operator first !region->flags & kRegionFlag_Enabled) ^ ( ) src/cheat.c:8984:5: note: add parentheses around left hand side expression to silence this warning !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] 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] 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] *((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] *((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] UINT8 regionType = ROMREGION_GETTYPE(traverse); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ 37 warnings generated. Compiling src/common.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "CHDERR_UNSUPPORTED_VERSION" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:439:25: warning: incompatible pointer types assigning to 'INT16 *' (aka 'short *') from 'signed char[1]' [-Wincompatible-pointer-types] flac_file.write_data = result->data; ^ ~~~~~~~~~~~~ src/common.c:473:21: warning: unused variable 'SampleFile' [-Wunused-variable] struct GameSample *SampleFile; ^ src/common.c:507:8: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable] 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] int type = ROMREGION_GETTYPE(regiondata); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' #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] 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] 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] 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] int regiontype = ROMREGION_GETTYPE(region); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' #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] log_cb(RETRO_LOG_DEBUG, LOGPRE "Allocated %X bytes @ %08X\n", romdata.regionlength, (int)romdata.regionbase); ^~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. Compiling src/config.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] unsigned int total; ^ src/config.c:441:6: warning: variable 'coin_counters' set but not used [-Wunused-but-set-variable] int coin_counters; ^ 6 warnings generated. Compiling src/controls.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpuexec.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpuint.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/datafile.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/datafile.c:369:12: warning: unused function 'ci_strcmp' [-Wunused-function] static int ci_strcmp (const char *s1, const char *s2) ^ 5 warnings generated. Compiling src/drawgfx.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] write_dword((UINT32 *)dstdata,col4); ^~~~~~~~~~~~~~~~~ src/drawgfx.c:61:43: note: expanded from macro 'write_dword' #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] 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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:550:80: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:560:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:572:76: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:582:72: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:643:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:653:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:665:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:675:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] 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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:743:81: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:753:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:765:77: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] sd4 = (UINT32 *)srcdata; ^~~~~~~~~~~~~~~~~ src/drawgfx.c:775:73: note: expanded from macro 'DECLARE_SWAP_RAW_PRI' #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] unsigned long color,black,white; ^ 113 warnings generated. Compiling src/driver.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/fileio.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/harddisk.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/hash.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/hiscore.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/info.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] switch (ROMREGION_GETTYPE(region)) ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' #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] default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region)); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.h:237:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ src/info.c:646:13: warning: unused function 'print_game_history' [-Wunused-function] static void print_game_history(FILE* out, const struct GameDriver* game) ^ 7 warnings generated. Compiling src/inptport.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inptport.c:555:12: warning: unused function 'readint' [-Wunused-function] static int readint(mame_file *f,UINT32 *num) ^ src/inptport.c:574:13: warning: unused function 'writeint' [-Wunused-function] static void writeint(mame_file *f,UINT32 num) ^ 6 warnings generated. Compiling src/input.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/mame-memory.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] opcode_entry = opcode_entry; ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ src/mame-memory.c:995:11: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] return BANK_TO_HANDLER(bank); ^~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:73:30: note: expanded from macro 'BANK_TO_HANDLER' #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] mwa++; ^ src/mame-memory.c:1247:4: note: previous statement is here 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] 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] 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] GENERATE_MEM_HANDLERS_16BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_BE(18) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_BE(18) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_BE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_BE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_BE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_BE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2406:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_BE' #define GENERATE_MEM_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(17) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(17) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_16BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2410:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_16BIT_LE' #define GENERATE_MEM_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_BE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2414:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_BE' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(26) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(26) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(26) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(26) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(29) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_MEM_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2418:47: note: expanded from macro 'GENERATE_MEM_HANDLERS_32BIT_LE' #define GENERATE_MEM_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] 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' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] 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' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] 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' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] 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' #define GENERATE_MEM_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_16BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2431:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_BE' #define GENERATE_PORT_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2370:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_16BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2431:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_BE' #define GENERATE_PORT_HANDLERS_16BIT_BE(abits) \ ^ src/mame-memory.c:2372:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_16BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_16BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_16BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2376:5: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_16BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2434:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_16BIT_LE' #define GENERATE_PORT_HANDLERS_16BIT_LE(abits) \ ^ src/mame-memory.c:2378:4: note: expanded from macro '\ GENERATE_HANDLERS_16BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2382:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2383:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2385:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_BE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2437:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_BE' #define GENERATE_PORT_HANDLERS_32BIT_BE(abits) \ ^ src/mame-memory.c:2386:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_BE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2390:3: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2391:5: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:58:65: note: expanded from macro 'MEMREADEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2393:2: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] GENERATE_PORT_HANDLERS_32BIT_LE(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2440:48: note: expanded from macro 'GENERATE_PORT_HANDLERS_32BIT_LE' #define GENERATE_PORT_HANDLERS_32BIT_LE(abits) \ ^ src/mame-memory.c:2394:4: note: expanded from macro '\ GENERATE_HANDLERS_32BIT_LE' 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' MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:60:30: note: expanded from macro 'MEMWRITEEND' #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] return cpu_readop16_unsafe(offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #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] return cpu_readop32_unsafe(offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #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] return cpu_readop_arg16_unsafe(offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #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] return cpu_readop_arg32_unsafe(offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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' #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] 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' #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] 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' #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] 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' #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) ^~~~~~ 91 warnings generated. Compiling src/mame.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] buffered_spriteram32_2 = (data32_t *)buffered_spriteram_2; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. Compiling src/mamedbg.c... Compiling src/mame_unzip.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/ost_samples.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] sf2_sample_set_names ^~~~~~~~~~~~~~~~~~~~ 15 warnings generated. Compiling src/palette.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] shadow_table_base[1] = shadow_table_base[3] = (UINT32*)table_ptr16; ^~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/png.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/profiler.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] log_cb(RETRO_LOG_DEBUG, LOGPRE "Duplicate save state function (%d, 0x%x)\n", ss_current_tag, (int)func); ^~~~~~~~~ 5 warnings generated. Compiling src/tilemap.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/timer.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] log_cb(RETRO_LOG_DEBUG, LOGPRE "timer_adjust %08X to expire @ %.9f\n", (UINT32)which, which->expire); ^~~~~~~~~~~~~ 6 warnings generated. Compiling src/ui_text.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/usrintrf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] _jmp(drc->dispatch); ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:17: note: expanded from macro '_jmp' do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jmp(drc->dispatch); ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:21: note: expanded from macro '_jmp' do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' #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] _jmp(drc->dispatch); ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:41: note: expanded from macro '_jmp' do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' #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] _jmp(drc->sequence_list[j].target); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:17: note: expanded from macro '_jmp' do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jmp(drc->sequence_list[j].target); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:21: note: expanded from macro '_jmp' do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' #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] _jmp(drc->sequence_list[j].target); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:977:41: note: expanded from macro '_jmp' do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:59: note: expanded from macro 'OP4' #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] _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:639:14: note: expanded from macro '_arith_m32abs_imm_common' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:639:14: note: expanded from macro '_arith_m32abs_imm_common' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:643:14: note: expanded from macro '_arith_m32abs_imm_common' OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:643:14: note: expanded from macro '_arith_m32abs_imm_common' OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:669:6: note: expanded from macro '_cmp_m32abs_imm' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:643:37: note: expanded from macro '_arith_m32abs_imm_common' OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jcc(COND_NE, drc->recompile); /* jne recompile*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:746:14: note: expanded from macro '_arith_m16abs_imm_common' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:746:14: note: expanded from macro '_arith_m16abs_imm_common' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:750:14: note: expanded from macro '_arith_m16abs_imm_common' OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:750:14: note: expanded from macro '_arith_m16abs_imm_common' OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:773:6: note: expanded from macro '_cmp_m16abs_imm' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:750:37: note: expanded from macro '_arith_m16abs_imm_common' OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ ^~~~~~~~ src/x86drc.h:198:23: note: expanded from macro 'OP2' #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] _jcc(COND_NE, drc->recompile); /* jne recompile*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:802:6: note: expanded from macro '_cmp_m8abs_imm' do { _arith_m8abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:781:17: note: expanded from macro '_arith_m8abs_imm_common' do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:802:6: note: expanded from macro '_cmp_m8abs_imm' do { _arith_m8abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:781:17: note: expanded from macro '_arith_m8abs_imm_common' do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _jcc(COND_NE, drc->recompile); /* jne recompile*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _mov_m32abs_r32(drc->icountptr, REG_EBP); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _mov_m32abs_r32(drc->icountptr, REG_EBP); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _mov_m32abs_r32(drc->pcptr, REG_EDI); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _mov_m32abs_r32(drc->pcptr, REG_EDI); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _mov_m32abs_r32(drc->esiptr, REG_ESI); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _mov_m32abs_r32(drc->esiptr, REG_ESI); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:423:17: note: expanded from macro '_mov_m32abs_r32' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _mov_r32_m32abs(REG_EBP, drc->icountptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _mov_r32_m32abs(REG_EBP, drc->icountptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _mov_r32_m32abs(REG_EDI, drc->pcptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _mov_r32_m32abs(REG_EDI, drc->pcptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _mov_r32_m32abs(REG_ESI, drc->esiptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _mov_r32_m32abs(REG_ESI, drc->esiptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:369:17: note: expanded from macro '_mov_r32_m32abs' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _call(target); /* call target*/ ^~~~~~~~~~~~~ src/x86drc.h:982:35: note: expanded from macro '_call' 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' #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] _call(target); /* call target*/ ^~~~~~~~~~~~~ src/x86drc.h:982:39: note: expanded from macro '_call' 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' #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] _call(target); /* call target*/ ^~~~~~~~~~~~~ src/x86drc.h:982:59: note: expanded from macro '_call' 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' #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] _add_r32_imm(REG_ESP, stackadj); /* adjust stack*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:603:6: note: expanded from macro '_add_r32_imm' do { _arith_r32_imm_common(0, dreg, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:598:36: note: expanded from macro '_arith_r32_imm_common' OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _sub_r32_imm(REG_EBP, cycles); /* sub ebp,cycles*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:618:6: note: expanded from macro '_sub_r32_imm' do { _arith_r32_imm_common(5, dreg, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:598:36: note: expanded from macro '_arith_r32_imm_common' OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _lea_r32_m32bd(REG_EDI, REG_EDI, pcdelta); /* lea edi,[edi+pcdelta]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:471:17: note: expanded from macro '_lea_r32_m32bd' do { OP1(0x8d); MODRM_MBD(dest, base, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _lea_r32_m32bd(REG_EDI, REG_EDI, pcdelta); /* lea edi,[edi+pcdelta]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:471:17: note: expanded from macro '_lea_r32_m32bd' do { OP1(0x8d); MODRM_MBD(dest, base, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jcc(COND_S, drc->out_of_cycles); /* js out_of_cycles*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:964:34: note: expanded from macro '_jcc' OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ ^~~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:218:6: note: expanded from macro 'MODRM_MBD' 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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:17: note: expanded from macro 'MODRM_MBD' 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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:34: note: expanded from macro 'MODRM_MBD' 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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:228:8: note: expanded from macro 'MODRM_MBD' OP1((INT32)disp); \ ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:233:8: note: expanded from macro 'MODRM_MBD' OP1((INT32)disp); \ ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:257:11: note: expanded from macro 'MODRM_MBISD' 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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:7: note: expanded from macro 'MODRM_MBISD' 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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:17: note: expanded from macro 'MODRM_MBISD' 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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:34: note: expanded from macro 'MODRM_MBISD' 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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:267:7: note: expanded from macro 'MODRM_MBISD' OP1((INT32)disp); \ ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _and_r32_imm(REG_EDX, drc->l2mask); /* and edx,l2mask*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:615:6: note: expanded from macro '_and_r32_imm' do { _arith_r32_imm_common(4, dreg, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:598:36: note: expanded from macro '_arith_r32_imm_common' OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:993:17: note: expanded from macro '_jmp_m32bisd' do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _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' do { OP1(0xff); MODRM_MBD(4, base, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0xff); MODRM_MBD(4, base, disp); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0xff); MODRM_MABS(4, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _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' do { OP1(0xff); MODRM_MABS(4, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:218:6: note: expanded from macro 'MODRM_MBD' 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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:17: note: expanded from macro 'MODRM_MBD' 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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:222:34: note: expanded from macro 'MODRM_MBD' 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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:228:8: note: expanded from macro 'MODRM_MBD' OP1((INT32)disp); \ ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:233:8: note: expanded from macro 'MODRM_MBD' OP1((INT32)disp); \ ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:242:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:256:3: note: expanded from macro 'MODRM_MBISD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:247:4: note: expanded from macro 'MODRM_MBD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:257:11: note: expanded from macro 'MODRM_MBISD' 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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:7: note: expanded from macro 'MODRM_MBISD' 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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:261:28: note: expanded from macro 'MODRM_MBISD' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:17: note: expanded from macro 'MODRM_MBISD' 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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:263:34: note: expanded from macro 'MODRM_MBISD' 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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:267:7: note: expanded from macro 'MODRM_MBISD' OP1((INT32)disp); \ ~~~~^~~~~~~~~~~~ src/x86drc.h:197:50: note: expanded from macro 'OP1' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:867:17: note: expanded from macro '_fldcw_m16isd' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:273:3: note: expanded from macro 'MODRM_MBISD' OP4(disp); \ ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:870:17: note: expanded from macro '_fnstcw_m16abs' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _push_imm(drc); /* push drc*/ ^~~~~~~~~~~~~~ src/x86drc.h:290:17: note: expanded from macro '_push_imm' do { OP1(0x68); OP4(imm); } while (0) ^~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _push_imm(drc); /* push drc*/ ^~~~~~~~~~~~~~ src/x86drc.h:290:17: note: expanded from macro '_push_imm' do { OP1(0x68); OP4(imm); } while (0) ^~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:23: note: expanded from macro 'OP4' #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] _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:864:17: note: expanded from macro '_fldcw_m16abs' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:213:38: note: expanded from macro 'MODRM_MABS' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~~~~~~~ src/x86drc.h:199:50: note: expanded from macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^~~~~~~~~~~ 107 warnings generated. Compiling src/machine/fd1089.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/machine/6522via.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/6532riot.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/6821pia.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/74123.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/74148.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] bit0 = !((!chips[which].input_lines[1] & ^ ~ src/machine/74148.c:84:13: note: add parentheses after the '!' to evaluate the bitwise operator first bit0 = !((!chips[which].input_lines[1] & ^ ( src/machine/74148.c:84:13: note: add parentheses around left hand side expression to silence this warning 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] (!chips[which].input_lines[3] & ^ ~ src/machine/74148.c:88:13: note: add parentheses after the '!' to evaluate the bitwise operator first (!chips[which].input_lines[3] & ^ ( src/machine/74148.c:88:13: note: add parentheses around left hand side expression to silence this warning (!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] (!chips[which].input_lines[5] & ^ ~ src/machine/74148.c:91:13: note: add parentheses after the '!' to evaluate the bitwise operator first (!chips[which].input_lines[5] & ^ ( src/machine/74148.c:91:13: note: add parentheses around left hand side expression to silence this warning (!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] bit1 = !((!chips[which].input_lines[2] & ^ ~ src/machine/74148.c:95:13: note: add parentheses after the '!' to evaluate the bitwise operator first bit1 = !((!chips[which].input_lines[2] & ^ ( src/machine/74148.c:95:13: note: add parentheses around left hand side expression to silence this warning 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] (!chips[which].input_lines[3] & ^ ~ src/machine/74148.c:98:13: note: add parentheses after the '!' to evaluate the bitwise operator first (!chips[which].input_lines[3] & ^ ( src/machine/74148.c:98:13: note: add parentheses around left hand side expression to silence this warning (!chips[which].input_lines[3] & ^ ( ) 9 warnings generated. Compiling src/machine/74153.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/7474.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/8255ppi.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/eeprom.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/idectrl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mathbox.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mb87078.c... Compiling src/machine/random.c... Compiling src/machine/ticket.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/tmp68301.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/z80fmly.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/filter.c... Compiling src/sound/mixer.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/streams.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/votrax.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/wavwrite.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/avgdvg_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/generic.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/matrix3d.c... Compiling src/vidhrdw/poly.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT8 oldval; ^ 5 warnings generated. Compiling src/vidhrdw/vector.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/resnet.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pacman.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mspacman.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/pacplus.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/jumpshot.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/theglobp.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/acitya.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jrpacman.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pacman_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pengo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/epos.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/epos_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/cclimber_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cclimber.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yamato.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gomoku_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/gomoku_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gomoku.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/clshroad_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/clshroad.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int active_r = 3*6; ^ src/vidhrdw/tubep_vidhrdw.c:338:8: warning: variable 'active_g' set but not used [-Wunused-but-set-variable] int active_g = 3*6; ^ src/vidhrdw/tubep_vidhrdw.c:339:8: warning: variable 'active_b' set but not used [-Wunused-but-set-variable] int active_b = 2*6; ^ src/vidhrdw/tubep_vidhrdw.c:235:9: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable] double output_scaler; ^ 8 warnings generated. Compiling src/drivers/tubep.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/magmax_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/magmax.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cop01_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cop01.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/terracre_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/terracre.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/galivan_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galivan.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/armedf_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *ROM = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/armedf.c:228:25: warning: unused function 'legion_command_c' [-Wunused-function] static WRITE16_HANDLER( legion_command_c ) ^ 6 warnings generated. Compiling src/machine/nb1413m3.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/hyhoo_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hyhoo.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pastelgl_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pastelgl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nbmj8891.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nbmj8991_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nbmj8991.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nbmj9195_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nbmj9195.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/niyanpai.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/m68kfmly.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/safarir.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/phoenix_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/phoenix_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/phoenix.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/pleiads.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/naughtyb_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/naughtyb.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/geebee_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/geebee_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/galaxian_sndhrdw.c:198:19: warning: variable 'charge' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^ src/sndhrdw/galaxian_sndhrdw.c:198:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^ src/sndhrdw/galaxian_sndhrdw.c:198:12: warning: variable 'sweep' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^ 7 warnings generated. Compiling src/drivers/galaxian.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rallyx_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rallyx.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] INPUT_PORTS_START( nrallyv ) ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :169:1: note: expanded from here input_ports_nrallyv ^ 5 warnings generated. Compiling src/drivers/locomotn.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bosco_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/galaga_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galaga.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/digdug_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xevious_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/xevious_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mappy_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gaplus.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/toypop_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/toypop.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static WRITE_HANDLER( toypop_68k_irq_trigger_w ) ^ 5 warnings generated. Compiling src/drivers/polepos.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/polepos_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/polepos_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pacland_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pacland.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skykid.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/baraduke_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/baraduke.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcos86.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tceptor_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int totcolors, totlookup; ^ 5 warnings generated. Compiling src/drivers/tceptor.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/namcos1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcos1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/namcos2_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *ROM = (data16_t *)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/namcos2_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcos2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] nth_word32( const data32_t *pSource, int which ) ^ src/drivers/namcoic.c:68:1: warning: unused function 'nth_byte32' [-Wunused-function] nth_byte32( const data32_t *pSource, int which ) ^ 6 warnings generated. Compiling src/vidhrdw/namcona1_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcona1.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/namconb1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namconb1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data32_t *pMem32 = (data32_t *)pMem8; ^~~~~~~~~~~~~~~~~ src/drivers/namconb1.c:1141:1: warning: unused variable 'input_ports_machbrkr' [-Wunused-const-variable] INPUT_PORTS_START( machbrkr ) ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :73:1: note: expanded from here input_ports_machbrkr ^ 6 warnings generated. Compiling src/machine/namcond1_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ygv608.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcond1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/psx_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] INT32 n_dr; ^ src/vidhrdw/psx_vidhrdw.c:2105:8: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable] INT32 n_dg; ^ src/vidhrdw/psx_vidhrdw.c:2106:8: warning: variable 'n_db' set but not used [-Wunused-but-set-variable] INT32 n_db; ^ 7 warnings generated. Compiling src/machine/psx_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] *( (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] *( (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] *( (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] *( (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] *( (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] *( (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] 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] psx_gpu_write( (UINT32 *)&m_p_n_ram[ n_address ], n_size ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. Compiling src/drivers/namcos10.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *RAM = (data16_t *)memory_region( REGION_USER2 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/namcos11.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static MACHINE_DRIVER_START( coh110 ) ^ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' void construct_##game(struct InternalMachineDriver *machine) \ ^ :175:1: note: expanded from here construct_coh110 ^ 5 warnings generated. Compiling src/drivers/namcos12.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] *( (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] 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] *( (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] 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] 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] 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] *( (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] *( (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] *( (data32_t *)&RAM[ 0x20288 ] ) = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. Compiling src/vidhrdw/namcos3d.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/namcos21_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] const INT32 *pPointData = (INT32 *)memory_region( REGION_USER2 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/namcos21.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/vidhrdw/namcos22_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/namcos22.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos22.c:602:25: warning: unused function 'namcos22_C139_SCI_w' [-Wunused-function] static WRITE32_HANDLER( namcos22_C139_SCI_w ) ^ 9 warnings generated. Compiling src/vidhrdw/cosmic_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 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 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] 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 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 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] if (!hd_ & hc_ & !hb_) ^ ~ src/vidhrdw/cosmic_vidhrdw.c:539:9: note: add parentheses after the '!' to evaluate the bitwise operator first if (!hd_ & hc_ & !hb_) ^ ( ) src/vidhrdw/cosmic_vidhrdw.c:539:9: note: add parentheses around left hand side expression to silence this warning 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] (!plane1 & hd) << 2; /* B - see above*/ ^ ~ src/vidhrdw/cosmic_vidhrdw.c:570:15: note: add parentheses after the '!' to evaluate the bitwise operator first (!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 (!plane1 & hd) << 2; /* B - see above*/ ^ ( ) 8 warnings generated. Compiling src/drivers/cosmic.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] break; ^ src/drivers/cosmic.c:69:6: note: previous statement is here else ^ src/drivers/cosmic.c:224:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] sample_start(2, 3, 0); break; ^ src/drivers/cosmic.c:223:6: note: previous statement is here else ^ src/drivers/cosmic.c:235:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] sample_start(3, 4, 0); break; ^ src/drivers/cosmic.c:234:6: note: previous statement is here else ^ src/drivers/cosmic.c:245:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] sample_start(4, 5, 0); break; ^ src/drivers/cosmic.c:244:6: note: previous statement is here else ^ src/drivers/cosmic.c:255:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] sample_start(5, 6, 0); break; ^ src/drivers/cosmic.c:254:6: note: previous statement is here else ^ src/drivers/cosmic.c:265:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] sample_start(6, 7, 0); break; ^ src/drivers/cosmic.c:264:6: note: previous statement is here else ^ src/drivers/cosmic.c:275:35: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] sample_start(7, 8, 0); break; ^ src/drivers/cosmic.c:274:6: note: previous statement is here else ^ src/drivers/cosmic.c:345:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0xcf); /* RST 08h */ ^ src/drivers/cosmic.c:342:6: note: previous statement is here if ((input_port_3_r(0) & 0xc0) != 0xc0) ^ 12 warnings generated. Compiling src/vidhrdw/redclash_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/redclash.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void zerohour_snd_play(INT32 bank, INT32 address, UINT8 data) ^ src/drivers/redclash.c:61:14: note: previous declaration is here static INT32 address; ^ src/drivers/redclash.c:65:64: warning: declaration shadows a variable in the global scope [-Wshadow] static void zerohour_snd_play(INT32 bank, INT32 address, UINT8 data) ^ src/drivers/redclash.c:62:14: note: previous declaration is here static UINT8 data; ^ src/drivers/redclash.c:171:1: warning: declaration shadows a variable in the global scope [-Wshadow] WRITE_HANDLER( zerohour_sound_output0_w ) ^ src/memory.h:127:87: note: expanded from macro 'WRITE_HANDLER' #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 static UINT8 data; ^ src/drivers/redclash.c:178:1: warning: declaration shadows a variable in the global scope [-Wshadow] WRITE_HANDLER( zerohour_sound_output1_w ) ^ src/memory.h:127:87: note: expanded from macro 'WRITE_HANDLER' #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 static UINT8 data; ^ src/drivers/redclash.c:61:14: warning: unused variable 'address' [-Wunused-variable] static INT32 address; ^ src/drivers/redclash.c:62:14: warning: unused variable 'data' [-Wunused-variable] static UINT8 data; ^ 10 warnings generated. Compiling src/vidhrdw/ladybug_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ladybug.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cheekyms_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cheekyms.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mrdo_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mrdo.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/docastle_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/docastle_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/docastle.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/docastle.c:902:109: warning: '/*' within block comment [-Wcomment] /* ROM_LOAD( "09c.bin", 0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) /* color prom */ ^ 5 warnings generated. Compiling src/vidhrdw/dkong_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] offset = (~flip_screen ^ rflip_sig) ? 0x400 : 0x000; ^ src/vidhrdw/dkong_vidhrdw.c:729:2: note: previous statement is here 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] static void scanline_callback(int scanline); ^ src/vidhrdw/dkong_vidhrdw.c:222:27: warning: unused variable 'radarscp1_net_info' [-Wunused-const-variable] static const res_net_info radarscp1_net_info = ^ src/vidhrdw/dkong_vidhrdw.c:782:13: warning: unused function 'draw_grid' [-Wunused-function] static void draw_grid(struct mame_bitmap *bitmap) ^ 8 warnings generated. Compiling src/sndhrdw/dkong_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void scanline_callback(int scanline); ^ 5 warnings generated. Compiling src/machine/strtheat.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mario_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/mario_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mario.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/popeye_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/popeye.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/punchout_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/punchout.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vsnes_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vsnes.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] INPUT_PORTS_START( vsnes ) ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :178:1: note: expanded from here input_ports_vsnes ^ 5 warnings generated. Compiling src/machine/snes_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] snes_oam = (UINT16 *)memory_region( REGION_USER2 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/snes_machine.c:1051:12: warning: unused function 'snes_validate_infoblock' [-Wunused-function] static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset ) ^ 7 warnings generated. Compiling src/vidhrdw/snes_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT16 ii, vflip, hflip, pal; ^ 5 warnings generated. Compiling src/sndhrdw/snes_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/8080bw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/8080bw_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/8080bw_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] DISCRETE_MULTIPLY(NODE_41, 1, NODE_40, 0.4375) /* Relative Gain */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/sound/discrete.h:2323:114: note: expanded from macro 'DISCRETE_MULTIPLY' #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] DISCRETE_MULTIPLY(NODE_35, 1, NODE_34, 0.6034) /* Relative Gain */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/sound/discrete.h:2323:114: note: expanded from macro 'DISCRETE_MULTIPLY' #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] 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' #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] 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' #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] 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' #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] /*if (rising_bits & 0x10) sample_start(3, 9, 0); /* Dog barking */ ^ src/sndhrdw/8080bw_sndhrdw.c:1542:29: warning: '/*' within block comment [-Wcomment] /*sample_start (1, 6, 0); /* Background continual? */ ^ 13 warnings generated. Compiling src/drivers/8080bw_drivers.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static PORT_WRITE_START( writeport_2_3 ) ^ 5 warnings generated. Compiling src/vidhrdw/sspeedr_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sspeedr.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m79amb.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rotaryf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/meadows.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/meadows_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/meadows_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cvs.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cvs_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 for(offs=128;offs<256;offs++) ^ 5 warnings generated. Compiling src/vidhrdw/s2636_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/astrocde_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/gorf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mcr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/mcr_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mcr12_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mcr3_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mcr1.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mcr2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mcr3.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mcr68_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mcr68.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/balsente_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/balsente_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] double temp = 0; ^ 5 warnings generated. Compiling src/drivers/balsente.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gridlee_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/gridlee_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/seattle.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data32_t *cmos_base = (data32_t *)generic_nvram; ^~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/voodoo_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] while (lod != 0) ^ src/vidhrdw/voodoo_vidhrdw.c:2969:1: note: previous statement is here 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] 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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((fixmask) >> (shift)) & (mask)) == (mask)) ? (((fix) >> (shift)) & (mask)) : (((var) >> (shift)) & (mask))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:1017:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (ALPHAMODE_BITS(1,3)) ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:14:2: note: expanded from macro 'ALPHAMODE_BITS' BITFIELD(ALPHAMODE, ALPHAMODE_MASK, voodoo_regs[alphaMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (ALPHAMODE_BITS(1,3)) ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:14:2: note: expanded from macro 'ALPHAMODE_BITS' BITFIELD(ALPHAMODE, ALPHAMODE_MASK, voodoo_regs[alphaMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (ALPHAMODE_BITS(1,3)) ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:14:2: note: expanded from macro 'ALPHAMODE_BITS' BITFIELD(ALPHAMODE, ALPHAMODE_MASK, voodoo_regs[alphaMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:951:15: warning: no case matching constant switch condition '0' switch (TEXTUREMODE0_BITS(14,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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' switch (TEXTUREMODE0_BITS(23,3)) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:18:2: note: expanded from macro 'TEXTUREMODE0_BITS' BITFIELD(TEXTUREMODE0, TEXTUREMODE0_MASK, voodoo_regs[0x100 + textureMode], start, (1 << (len)) - 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:8:2: note: expanded from macro 'BITFIELD' (((((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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); ^~~~~~~~~~~~~~~~~~~~~ 129 warnings generated. Compiling src/vidhrdw/exterm_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/midwayic.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/dcs.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] 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] INT16 *source = (INT16 *)memory_region(REGION_CPU1 + dcs_cpunum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. Compiling src/machine/midyunit_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] a8 = READ_INT32(a1+0x1c0); /* MOVE *A1(1C0h),A8,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] a7 = READ_INT32(a1+0x1a0); /* MOVE *A1(1A0h),A7,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:392:8: note: expanded from macro 'T2_FFC08C40' a5x = READ_INT32(a5x+0xa0); /* MOVE *A5(A0h),A5,1 */ \ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:393:8: note: expanded from macro 'T2_FFC08C40' a3x = READ_INT32(a3x+0xa0); /* MOVE *A3(A0h),A3,1 */ \ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:394:8: note: expanded from macro 'T2_FFC08C40' a6x = READ_INT32(a1+0x140); /* MOVE *A1(140h),A6,1*/ \ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:397:2: note: expanded from macro 'T2_FFC08C40' WRITE_INT32(a1+0x140, a6xa7x & 0xffffffff); /* MOVE A6,*A1(140h),1*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a1+0x20, a14); /* MOVE A14,*A1(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] a9 = READ_INT32(a14); /* MOVE *A14,A9,1 */ ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] WRITE_INT32(a14, a1); /* MOVE A1,*A14,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a9+0x20, a1); /* MOVE A1,*A9(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a1, a9); /* MOVE A9,*A1,1 */ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:392:8: note: expanded from macro 'T2_FFC08C40' a5x = READ_INT32(a5x+0xa0); /* MOVE *A5(A0h),A5,1 */ \ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:393:8: note: expanded from macro 'T2_FFC08C40' a3x = READ_INT32(a3x+0xa0); /* MOVE *A3(A0h),A3,1 */ \ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:394:8: note: expanded from macro 'T2_FFC08C40' a6x = READ_INT32(a1+0x140); /* MOVE *A1(140h),A6,1*/ \ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] T2_FFC08C40 /* CALLR FFC08C40h */ ^~~~~~~~~~~ src/machine/midyunit_machine.c:397:2: note: expanded from macro 'T2_FFC08C40' WRITE_INT32(a1+0x140, a6xa7x & 0xffffffff); /* MOVE A6,*A1(140h),1*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] a9 = READ_INT32(a14+0x20); /* MOVE *A14(20h),A9,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] WRITE_INT32(a1, a14); /* MOVE A14,*A1,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a14+0x20, a1); /* MOVE A1,*A14(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a9, a1); /* MOVE A1,*A9,1 */ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a1+0x20, a9); /* MOVE A9,*A1(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] a14 = READ_INT32(a0+0x20); /* MOVE *A0(20h),A14,1 */ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] WRITE_INT32(a14, a1); /* MOVE A1,*A14,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a1+0x20, a14); /* MOVE A14,*A1(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ ^~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a1, a0); /* MOVE A0,*A1,1 */ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a0 +0x20, a1); /* MOVE A1,*A0(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] a1 = READ_INT32(a0); /* MOVE *A0,A1,1 */ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :169:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :170:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :171:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' temp1 = READ_INT32(LOC1); \ ^~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' temp2 = READ_INT32(LOC2); \ ^~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' temp3 = READ_INT32(LOC3); \ ^~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :172:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :173:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :174:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :175:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:330:15: note: expanded from macro 'DO_SPEEDUP_LOOP' while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ ^~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:332:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :176:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:333:14: note: expanded from macro 'DO_SPEEDUP_LOOP' INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ ^~~~~~~~~~~~~~~~~~~~~~~~~ :177:1: note: expanded from here READ_INT32 ^ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #define READ_U32(a) (*(INT32 *)a) ^ src/machine/midyunit_machine.c:276:27: note: expanded from macro 'BIG_DWORD_LE' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:347:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:348:20: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:349:4: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:363:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a4, a2); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:364:19: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a0, READ_INT32(a2)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:314:40: note: expanded from macro 'READ_INT32' #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' #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' #define BIG_DWORD_LE(x) (x) ^ src/machine/midyunit_machine.c:295:41: note: expanded from macro 'WRITE_U32' #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] 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' DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:365:3: note: expanded from macro 'DO_SPEEDUP_LOOP' WRITE_INT32(a2, a0); \ ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:318:31: note: expanded from macro 'WRITE_INT32' #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' #define WRITE_U32(a,x) (*(INT32 *)a = (x)) ^~~~~~~~~~ 105 warnings generated. Compiling src/vidhrdw/midyunit_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/midyunit.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/midxunit.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/midwunit_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' #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] COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' #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] COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' #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] COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' #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] return ((data16_t *)generic_nvram)[offset]; ^~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. Compiling src/drivers/midwunit.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/midvunit_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] if (dma_data_index < 16) ^ src/vidhrdw/midvunit_vidhrdw.c:1027:1: note: previous statement is here if (LOG_DMA && keyboard_pressed(KEYCODE_L)) ^ 5 warnings generated. Compiling src/drivers/midvunit.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] data32_t *cmos_base = (data32_t *)generic_nvram; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/midvunit.c:311:24: warning: unused function 'crusnwld_serial_status_r' [-Wunused-function] static READ32_HANDLER( crusnwld_serial_status_r ) ^ src/drivers/midvunit.c:318:24: warning: unused function 'crusnwld_serial_data_r' [-Wunused-function] static READ32_HANDLER( crusnwld_serial_data_r ) ^ src/drivers/midvunit.c:324:25: warning: unused function 'crusnwld_serial_data_w' [-Wunused-function] static WRITE32_HANDLER( crusnwld_serial_data_w ) ^ src/drivers/midvunit.c:1395:8: warning: unused function 'init_crusnw20' [-Wunused-function] static DRIVER_INIT( crusnw20 ) { init_crusnwld_common(0xd49c); } ^ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' #define DRIVER_INIT(name) void init_##name(void) ^ :115:1: note: expanded from here init_crusnw20 ^ src/drivers/midvunit.c:1396:8: warning: unused function 'init_crusnw13' [-Wunused-function] static DRIVER_INIT( crusnw13 ) { init_crusnwld_common(0); } ^ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' #define DRIVER_INIT(name) void init_##name(void) ^ :116:1: note: expanded from here init_crusnw13 ^ 12 warnings generated. Compiling src/machine/midtunit_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' #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] COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' #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] return ((data16_t *)generic_nvram)[offset]; ^~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/vidhrdw/midtunit_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' #define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale) \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' \ ^ src/vidhrdw/midtunit_vidhrdw.c:541:2: note: expanded from macro '\ DMA_DRAW_FUNC' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' 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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' d[sx] = (extractor(mask)) | pal; \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' int pixel = (extractor(mask)); \ ^~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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] 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' 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' 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' UINT8 value = EXTRACTGEN(0xff); \ ^~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:358:26: note: expanded from macro 'EXTRACTGEN' #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' 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' 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' int endskip = dma_state.endskip << 8; \ ^ 324 warnings generated. Compiling src/drivers/midtunit.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/skychut_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skychut.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/irem.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mpatrol_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mpatrol.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/troangel.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/travrusa_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/travrusa.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wilytowr.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static READ_HANDLER( snd_status_r ) ^ 5 warnings generated. Compiling src/vidhrdw/m62_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m62.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vigilant.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/m72_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/m72_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m72.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static int find_sample(int num) ^ 5 warnings generated. Compiling src/vidhrdw/shisen_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shisen.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/irem_cpu.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/m90_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m90.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] INPUT_PORTS_START( m97 ) ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :168:1: note: expanded from here input_ports_m97 ^ 5 warnings generated. Compiling src/vidhrdw/m92_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m92.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/m107_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/m107.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/gottlieb_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gottlieb.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sbowling.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/chaknpop_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/chaknpop.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/qix_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/taitosj_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/taitosj.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/grchamp_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/grchamp_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/grchamp.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/pitnrun_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pitnrun.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bking2_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bking2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gsword_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/tait8741.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/msisaac_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/msisaac.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static MEMORY_READ_START( mcu_readmem ) ^ src/drivers/msisaac.c:352:28: warning: unused variable 'mcu_writemem' [-Wunused-const-variable] static MEMORY_WRITE_START( mcu_writemem ) ^ 6 warnings generated. Compiling src/machine/retofinv_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rollrace_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rollrace.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/40love_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/40love.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ssrj_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ssrj.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bigevglf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tsamurai_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tsamurai.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/flstory_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/flstory.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gladiatr_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/nycaptor_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nycaptor_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nycaptor.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] WARP_LINE_COMMON ^~~~~~~~~~~~~~~~ src/drivers/halleys.c:886:19: note: expanded from macro 'WARP_LINE_COMMON' 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] WARP_LINE_COMMON ^~~~~~~~~~~~~~~~ src/drivers/halleys.c:886:19: note: expanded from macro 'WARP_LINE_COMMON' 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] 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] 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] int offs,spritecont,flipx,flipy,old_x,old_y,color,x,y; ^ 6 warnings generated. Compiling src/sndhrdw/taito_f3_sndhrdw.c... In file included from src/sndhrdw/taito_f3_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/taito_f3_sndhrdw.c:62:36: warning: variable 'last_r' set but not used [-Wunused-but-set-variable] static data16_t channel[8],last_l,last_r; ^ src/sndhrdw/taito_f3_sndhrdw.c:62:29: warning: variable 'last_l' set but not used [-Wunused-but-set-variable] static data16_t channel[8],last_l,last_r; ^ 6 warnings generated. Compiling src/drivers/taito_f3.c... In file included from src/drivers/taito_f3.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/taito_f3.c:101:20: warning: passing 'const data8_t[128]' (aka 'const unsigned char[128]') to parameter of type 'UINT8 *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] EEPROM_set_data(recalh_eeprom,128); ^~~~~~~~~~~~~ src/machine/eeprom.h:29:29: note: passing argument to parameter 'data' here void EEPROM_set_data(UINT8 *data, int length); ^ src/drivers/taito_f3.c:186:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] data16_t *rom = (data16_t *)memory_region(REGION_CPU2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/taito_f3.c:501:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] data16_t *RAM = (data16_t *)memory_region(REGION_CPU2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/taito_f3.c:3202:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] data32_t *RAM = (UINT32 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/taito_f3.c:3307:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] data32_t *RAM = (UINT32 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. Compiling src/vidhrdw/taitoair_vidhrdw.c... In file included from src/vidhrdw/taitoair_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/taitoair.c... In file included from src/drivers/taitoair.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/slapfght_machine.c... In file included from src/machine/slapfght_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/slapfght_vidhrdw.c... In file included from src/vidhrdw/slapfght_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/slapfght.c... In file included from src/drivers/slapfght.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/twincobr_machine.c... In file included from src/machine/twincobr_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/twincobr_vidhrdw.c... In file included from src/vidhrdw/twincobr_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/twincobr.c... In file included from src/drivers/twincobr.c:190: In file included from src/driver.h:64: src/memory.h:916:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/twincobr.c:1187:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] data16_t *dest = (data16_t *)&memory_region(REGION_CPU3)[TMS32010_PGM_OFFSET]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/wardner.c... In file included from src/drivers/wardner.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/wardner.c:788:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] data16_t *dest = (data16_t *)&memory_region(REGION_CPU3)[TMS32010_PGM_OFFSET]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/mjsister.c... In file included from src/drivers/mjsister.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mjsister_vidhrdw.c... In file included from src/vidhrdw/mjsister_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/toaplan1_machine.c... In file included from src/machine/toaplan1_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/toaplan1_machine.c:53:33: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] case 0xc00000: input_data = *((data16_t *)&(cpu_bankbase[1][(dsp_addr_w)])); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/toaplan1_machine.c:81:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] case 0xc00000: *((data16_t *)&(cpu_bankbase[1][(dsp_addr_w)])) = data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/toaplan1_machine.c:19:12: warning: unused variable 'vimana_credits' [-Wunused-variable] static int vimana_credits; ^ src/machine/toaplan1_machine.c:20:12: warning: unused variable 'vimana_latch' [-Wunused-variable] static int vimana_latch; ^ 8 warnings generated. Compiling src/vidhrdw/toaplan1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int layer; ^ src/vidhrdw/toaplan1_vidhrdw.c:1274:7: warning: variable 'layer' set but not used [-Wunused-but-set-variable] int layer; ^ 6 warnings generated. Compiling src/drivers/toaplan1.c... In file included from src/drivers/toaplan1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/snowbros_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/snowbros.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data16_t *PROTDATA = (data16_t*)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/toaplan2_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] vramp = (UINT32*)topvideoram16[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/drivers/toaplan2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data16_t *pipibibi_68k_rom = (data16_t *)(memory_region(REGION_CPU1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/cave_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] UINT16 *zbf = (UINT16 *)(blit.baseaddr_zbuf + blit.line_offset_zbuf*y1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. Compiling src/drivers/cave.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/kyugo_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/kyugo_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kyugo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/williams_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/williams_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/williams_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/williams.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vulgus.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/higemaru_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/higemaru.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exedexes.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/commando_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/commando.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gng_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gng.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/lwings.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static INTERRUPT_GEN( avengers_interrupt ) ^ src/drivers/lwings.c:383:25: warning: unused variable 'adpcm_readport' [-Wunused-const-variable] static PORT_READ_START( adpcm_readport ) ^ 6 warnings generated. Compiling src/vidhrdw/sidearms_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sidearms.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bionicc_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bionicc.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/1943_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/1943.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blktiger_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/blktiger.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tigeroad_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tigeroad.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sf1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sf1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] return (input_port_0_r(0) & 0x76) | bit; ^ src/drivers/mitchell.c:140:1: note: previous statement is here if (Machine->gamedrv == &driver_mgakuen2) /* hack... music doesn't work otherwise */ ^ 5 warnings generated. Compiling src/vidhrdw/cbasebal_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cbasebal.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cps1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] data16_t *xor = (data16_t *)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. Compiling src/drivers/cps1.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cps1.c:3606:1: warning: unused variable 'input_ports_rockmanj' [-Wunused-const-variable] INPUT_PORTS_START( rockmanj ) ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :284:1: note: expanded from here input_ports_rockmanj ^ 6 warnings generated. Compiling src/drivers/cps2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/cps2crypt.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/zn.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tms34061_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/capbowl_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/capbowl_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/capbowl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/itech8_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/itech8.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/itech32_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] itech32_video[0x1c/2], itech32_video[0x1e/2], itech32_video[0x20/2]); ^ 6 warnings generated. Compiling src/drivers/itech32.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] static READ32_HANDLER( trackball32_8bit_r ) ^ src/drivers/itech32.c:286:24: warning: unused function 'trackball32_4bit_combined_r' [-Wunused-function] static READ32_HANDLER( trackball32_4bit_combined_r ) ^ src/drivers/itech32.c:546:24: warning: unused function 'input_port_5_msw_r' [-Wunused-function] static READ32_HANDLER( input_port_5_msw_r ) ^ 8 warnings generated. Compiling src/machine/slikshot.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vicdual_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vicdual.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/carnival.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/depthch.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/invinco.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int bitsGoneHigh; ^ 5 warnings generated. Compiling src/sndhrdw/pulsar.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int bitsGoneHigh; ^ 5 warnings generated. Compiling src/machine/segacrpt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sega_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/sega_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sega.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static MEMORY_READ_START( speech_readmem ) ^ src/drivers/sega.c:192:28: warning: unused variable 'speech_writemem' [-Wunused-const-variable] static MEMORY_WRITE_START( speech_writemem ) ^ 6 warnings generated. Compiling src/vidhrdw/segar_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int sprite_transparency; ^ 5 warnings generated. Compiling src/sndhrdw/segar_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/segar_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/segar.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static MEMORY_READ_START( speech_readmem ) ^ src/drivers/segar.c:243:28: warning: unused variable 'speech_writemem' [-Wunused-const-variable] static MEMORY_WRITE_START( speech_writemem ) ^ 6 warnings generated. Compiling src/vidhrdw/tms9928a.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sg1000a.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/zaxxon_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/zaxxon.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/turbo_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/turbo.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kopunch.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static READ_HANDLER( pip_r ) ^ 5 warnings generated. Compiling src/vidhrdw/kopunch_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suprloco_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/suprloco.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dotrikun_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dotrikun.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/angelkds_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/angelkds.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/system1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static INLINE int get_sprite_bottom_y(int spr_number) ^ 5 warnings generated. Compiling src/drivers/system1.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] INPUT_PORTS_START( shtngmst ) ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :190:1: note: expanded from here input_ports_shtngmst ^ 5 warnings generated. Compiling src/vidhrdw/segasyse_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] UINT32 pix8 = *(UINT32 *)&segae_vdp_vram[chip][(((32)*tile + (4)*line)&0x3fff) + (0x4000) * segae_vdp_vrambank[chip]]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/drivers/segasyse.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] const data16_t *pMem = (data16_t *)memory_region(REGION_CPU3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/system16_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] int r, g, b, rs, gs, bs, rh, gh, bh; ^ 8 warnings generated. Compiling src/vidhrdw/sys16spr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/segaic16.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] effxscroll += 17; ^~~~~~~~~~ src/vidhrdw/segaic16.c:856:21: note: initialize the variable 'effxscroll' to silence this warning 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] default: ^~~~~~~ src/vidhrdw/segaic16.c:1230:33: note: uninitialized use occurs here 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 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] 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] 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] 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] 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] 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] 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] UINT32 *dst = (UINT32 *)info->buffer; ^~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. Compiling src/vidhrdw/segas16b.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/segaorun.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/segas16b.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static const char *portname[] = { "MJ0", "MJ1", "MJ2", "MJ3", "MJ4", "MJ5" }; ^ src/drivers/segas16b.c:341:15: warning: unused variable 'last_val' [-Wunused-variable] static UINT8 last_val; ^ src/drivers/segas16b.c:1433:8: warning: unused function 'construct_system16_7751' [-Wunused-function] static MACHINE_DRIVER_START( system16_7751 ) ^ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' void construct_##game(struct InternalMachineDriver *machine) \ ^ :13:1: note: expanded from here construct_system16_7751 ^ 7 warnings generated. Compiling src/sndhrdw/system16_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/system16.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system16.c:4909:39: warning: '/*' within block comment [-Wcomment] /* { 0xc42000, 0xc42001, MRA16_NOP }, /* What is this? */ ^ src/drivers/system16.c:512:8: warning: unused function 'construct_system16_7759' [-Wunused-function] static MACHINE_DRIVER_START( system16_7759 ) ^ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' void construct_##game(struct InternalMachineDriver *machine) \ ^ :168:1: note: expanded from here construct_system16_7759 ^ src/drivers/system16.c:6658:8: warning: unused function 'init_s16dummy' [-Wunused-function] static DRIVER_INIT( s16dummy ){ ^ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' #define DRIVER_INIT(name) void init_##name(void) ^ :59:1: note: expanded from here init_s16dummy ^ 7 warnings generated. Compiling src/drivers/aburner.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/outrun.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] RAM = (data16_t *)memory_region(REGION_CPU3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/outrun.c:1299:8: warning: unused function 'construct_toutrun_new' [-Wunused-function] static MACHINE_DRIVER_START( toutrun_new ) ^ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' void construct_##game(struct InternalMachineDriver *machine) \ ^ :57:1: note: expanded from here construct_toutrun_new ^ 7 warnings generated. Compiling src/drivers/sharrier.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] data16_t *rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/sharrier.c:1519:16: warning: '/*' within block comment [-Wcomment] /*PORT_START /* Y */ ^ 8 warnings generated. Compiling src/drivers/system18.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/system24.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] return ((UINT16 *)memory_region(REGION_CPU1))[offset]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/machine/system24_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/system24_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/system32.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data8_t val = cpu_readmem24lew(0x20EE81); ^ src/drivers/system32.c:3271:5: note: previous declaration is here 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] data16_t *pROM = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system32.c:490:23: warning: unused function 'system32_eeprom_r' [-Wunused-function] static READ16_HANDLER(system32_eeprom_r) ^ src/drivers/system32.c:495:24: warning: unused function 'system32_eeprom_w' [-Wunused-function] static WRITE16_HANDLER(system32_eeprom_w) ^ src/drivers/system32.c:693:23: warning: unused function 'sys32_read_ff' [-Wunused-function] static READ16_HANDLER(sys32_read_ff) ^ src/drivers/system32.c:698:23: warning: unused function 'sys32_read_random' [-Wunused-function] static READ16_HANDLER(sys32_read_random) ^ src/drivers/system32.c:938:25: warning: unused function 'jp_v60_write_cab' [-Wunused-function] static WRITE16_HANDLER( jp_v60_write_cab ) ^ src/drivers/system32.c:1334:1: warning: unused variable 'input_ports_sys32_4p' [-Wunused-const-variable] INPUT_PORTS_START( sys32_4p ) ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :169:1: note: expanded from here input_ports_sys32_4p ^ 12 warnings generated. Compiling src/drivers/multi32.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static READ16_HANDLER(system32_eeprom_r) ^ src/drivers/multi32.c:117:24: warning: unused function 'system32_eeprom_w' [-Wunused-function] static WRITE16_HANDLER(system32_eeprom_w) ^ src/drivers/multi32.c:127:23: warning: unused function 'sys32_read_ff' [-Wunused-function] static READ16_HANDLER(sys32_read_ff) ^ src/drivers/multi32.c:132:23: warning: unused function 'sys32_read_random' [-Wunused-function] static READ16_HANDLER(sys32_read_random) ^ 8 warnings generated. Compiling src/vidhrdw/system32_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:1627:8: warning: declaration shadows a local variable [-Wshadow] int i; ^ src/vidhrdw/system32_vidhrdw.c:1451:6: note: previous declaration is here int i; ^ 9 warnings generated. Compiling src/vidhrdw/segac2_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] vdp_cmdpart = 0; ^ src/vidhrdw/segac2_vidhrdw.c:244:5: note: previous statement is here 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] 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] 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] UINT32 tile = *(UINT32 *)&VDP_VRAM_BYTE(patno * 32 + 4 * patline); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. Compiling src/drivers/segac2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segac2.c:1068:2: warning: '/*' within block comment [-Wcomment] /* 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] 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] 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] UINT16 *src = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/segac2.c:1252:26: warning: unused function 'genesis_68k_to_z80_w' [-Wunused-function] static WRITE16_HANDLER ( genesis_68k_to_z80_w ) ^ src/drivers/segac2.c:2108:26: warning: unused function 'genesis_z80_ram_w' [-Wunused-function] static WRITE16_HANDLER ( genesis_z80_ram_w ) ^ src/drivers/segac2.c:2160:23: warning: unused function 'megatech_instr_w' [-Wunused-function] static WRITE_HANDLER( megatech_instr_w ) ^ src/drivers/segac2.c:3707:1: warning: unused variable 'input_ports_genesis' [-Wunused-const-variable] INPUT_PORTS_START( genesis ) /* Genesis Input Ports */ ^ src/inptport.h:187:36: note: expanded from macro 'INPUT_PORTS_START' static const struct InputPortTiny input_ports_##name[] = { ^ :225:1: note: expanded from here input_ports_genesis ^ 12 warnings generated. Compiling src/drivers/stv.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] cdb_inject_file_info(fid, cdb_sat_file_info); ^~~~~~~~~~~~~~~~~ src/machine/stvcd.h:7:47: note: passing argument to parameter 'dst' here void cdb_inject_file_info(UINT32 fid, UINT8 * dst); ^ src/drivers/stv.c:1850:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 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 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 if ((offset == 0x61)) /* ?? many games need this or the controls don't work*/ ^~ = 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] 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] data32_t *rom = (data32_t *)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. Compiling src/drivers/stvhacks.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data32_t *rom = (data32_t *)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/stvhacks.c:311:24: warning: unused function 'dnmtdeka_speedup_r' [-Wunused-function] static READ32_HANDLER( dnmtdeka_speedup_r ) ^ 6 warnings generated. Compiling src/machine/stvcd.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void iso_build_disc_bin(void){ ^ 5 warnings generated. Compiling src/machine/scudsp.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/stvvdp1_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/stvvdp2_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/stvvdp2_vidhrdw.c:1768:20: warning: variable 'mpsize_dwords' set but not used [-Wunused-but-set-variable] int mpsize_bytes, mpsize_dwords; ^ src/vidhrdw/stvvdp2_vidhrdw.c:1763:20: warning: variable 'plsize_dwords' set but not used [-Wunused-but-set-variable] int plsize_bytes, plsize_dwords; ^ 6 warnings generated. Compiling src/vidhrdw/deniam_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/deniam.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/btime_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/btime_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/btime.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static data8_t latch1; ^ 5 warnings generated. Compiling src/vidhrdw/decocass_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/astrof_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/astrof_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/astrof.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/liberate_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int mx,my,tile,color,offs; ^ 5 warnings generated. Compiling src/drivers/liberate.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bwing_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bwing.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kchamp_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kchamp.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/firetrap_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/firetrap.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/brkthru_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/brkthru.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/metlclsh_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/metlclsh.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/compgolf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tryout_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tryout.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shootout_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shootout.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sidepckt_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/exprraid_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exprraid.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pcktgal_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pcktgal.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/battlera_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/actfancr_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/actfancr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dec8_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dec8.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/karnov_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/karnov.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/machine/decocrpt.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] UINT32 *rom = (UINT32 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/machine/decoprot.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/deco16ic.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/dec0_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data16_t *rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/dec0_machine.c:461:13: warning: unused function 'i8751_callback' [-Wunused-function] static void i8751_callback(int param) ^ 7 warnings generated. Compiling src/vidhrdw/dec0_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dec0.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/stadhero_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/stadhero.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/madmotor_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/madmotor.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vaportra.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cbuster.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/darkseal_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/supbtime.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cninja.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/dassault_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dassault.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rohga_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rohga.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tumblep_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT16 *PROTDATA = (UINT16*)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:1794:56: warning: '/*' within block comment [-Wcomment] /* 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] 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] 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] 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] 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] UINT16 *rom = (UINT16 *)memory_region(REGION_GFX1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c:184:25: warning: unused function 'jumppop_sound_w' [-Wunused-function] static WRITE16_HANDLER( jumppop_sound_w ) ^ src/drivers/tumblep.c:1283:29: warning: unused variable 'jumppop_gfxdecodeinfo' [-Wunused-variable] static struct GfxDecodeInfo jumppop_gfxdecodeinfo[] = ^ 13 warnings generated. Compiling src/vidhrdw/lemmings_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int sx,sy,src,old,tile; ^ 5 warnings generated. Compiling src/drivers/lemmings.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/funkyjet_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/funkyjet.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] int ptr=0,sx0,sy0,sx1,sy1,start,end=0; ^ 6 warnings generated. Compiling src/drivers/deco32.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data32_t *ROM = (UINT32 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/deco_mlc_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 static UINT8 *gfx; ^ src/vidhrdw/deco_mlc_vidhrdw.c:266:17: warning: variable 'x_index' set but not used [-Wunused-but-set-variable] 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] int x, x_index = x_index_base; ^ src/vidhrdw/deco_mlc_vidhrdw.c:349:12: warning: variable 'ymult' set but not used [-Wunused-but-set-variable] int xmult,ymult,xoffs,yoffs; ^ src/vidhrdw/deco_mlc_vidhrdw.c:349:6: warning: variable 'xmult' set but not used [-Wunused-but-set-variable] int xmult,ymult,xoffs,yoffs; ^ 9 warnings generated. Compiling src/drivers/deco_mlc.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sshangha_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sshangha.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/senjyo_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/senjyo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bombjack_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/solomon_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/solomon.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tecmo_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tecmo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tbowl_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tbowl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gaiden_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gaiden.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wc90_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wc90.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wc90b_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wc90b.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/spbactn_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tecmo16_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tecmo16.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tecmosys.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] tecmosys_880000regs[offset]; ~~~~~~~~~~~~~~~~~~~ ~~~~~~^ src/drivers/tecmosys.c:589:30: warning: expression result unused [-Wunused-value] tecmosys_880000regs[offset]; ~~~~~~~~~~~~~~~~~~~ ~~~~~~^ src/drivers/tecmosys.c:683:37: warning: '/*' within block comment [-Wcomment] { 0x980000, 0x9807ff, MWA16_RAM }, /* bg pal */ ^ src/drivers/tecmosys.c:685:79: warning: '/*' within block comment [-Wcomment] { 0x980800, 0x980fff, paletteram16_xGGGGGRRRRRBBBBB_word_w, &paletteram16 }, /* fix pal */ ^ 8 warnings generated. Compiling src/machine/scramble_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 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 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] 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 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 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] 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 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 if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; ^ ( ) 7 warnings generated. Compiling src/sndhrdw/scramble_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/scramble.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/frogger.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] { NULL, 0xb800, &imago_spritelayout, 0, 32 }, ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/tutankhm_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] unsigned char destflag; ^ 5 warnings generated. Compiling src/drivers/tutankhm.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/junofrst.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pooyan_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pooyan.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/timeplt_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/megazone_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/megazone.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pandoras.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/gyruss_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gyruss_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gyruss.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/konami_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/trackfld_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/trackfld_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/trackfld.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rocnrope_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rocnrope.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/circusc_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/circusc.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tp84_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tp84.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sbasketb.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mikie_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/yiear_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yiear.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shaolins_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shaolins.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pingpong.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gberet_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gberet.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ironhors.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/jackal_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jackal_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jackal.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/contra_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/combatsc_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/combatsc.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/hcastle_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hcastle.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nemesis_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nemesis.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] addr = (code << 5) + (offset & 0x1f); ^ src/vidhrdw/konamiic.c:2075:1: note: previous statement is here 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] 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] 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] 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] 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] data16_t *ROM = (data16_t *)memory_region(K053247_memory_region); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:6840:24: warning: variable 'src_modulo' set but not used [-Wunused-but-set-variable] int count, src_pitch, src_modulo; ^ src/vidhrdw/konamiic.c:6840:13: warning: variable 'src_pitch' set but not used [-Wunused-but-set-variable] int count, src_pitch, src_modulo; ^ src/vidhrdw/konamiic.c:6843:26: warning: variable 'code_opaque' set but not used [-Wunused-but-set-variable] UINT8 code_transparent, code_opaque; ^ 16 warnings generated. Compiling src/vidhrdw/rockrage_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rockrage.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/flkatck_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/flkatck.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fastlane_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fastlane.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/labyrunr_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/battlnts.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bladestl_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bladestl.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/ajax_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ajax.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/thunderx_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/thunderx.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mainevt_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mainevt.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/88games_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/88games.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gbusters.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crimfght_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/crimfght.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spy.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bottom9_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blockhl_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/blockhl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/aliens_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/parodius.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rollerg_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rollerg.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xexex_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xexex.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/asterix_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/asterix.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gijoe_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int vrc_mode, vrc_new, colorbase_new, primode, dirty, i; ^ 5 warnings generated. Compiling src/drivers/gijoe.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] spriteram16 = (data16_t *)&RAM[0x8a000]; ^~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/simpsons_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/simpsons.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vendetta_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vendetta.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wecleman_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] ebx += (int)src_base; ^~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:328:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 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] ebx += (int)src_base; ^~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:359:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 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] ebx += (int)src_base; ^~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:396:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 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] 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] 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] 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] 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] dw_end = (UINT32*)dst_base; ^~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:810:6: warning: variable 'src_advance' set but not used [-Wunused-but-set-variable] int src_advance, src_advance_l2, pal_advance, pal_advance_l2; ^ src/vidhrdw/wecleman_vidhrdw.c:810:35: warning: variable 'pal_advance' set but not used [-Wunused-but-set-variable] int src_advance, src_advance_l2, pal_advance, pal_advance_l2; ^ src/vidhrdw/wecleman_vidhrdw.c:1156:26: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] 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] 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] 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] 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] 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] spr_ptr_list = (struct sprite **)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. Compiling src/drivers/wecleman.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/chqflag.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ultraman_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ultraman.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/hexion_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hexion.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/twin16_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/twin16.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] twin16_gfx_rom = (UINT16 *)memory_region(REGION_GFX2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/tmnt_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tmnt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] dest = (signed short *)samples->sample[0]->data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/xmen_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xmen.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/overdriv_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/overdriv.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gradius3_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gradius3.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/moo_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int bg_colorbase, new_colorbase, plane, dirty, alpha; ^ 5 warnings generated. Compiling src/drivers/moo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] state_save_register_INT32("Moo", 0, "control2", (INT32 *)&cur_control2, 1); ^~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/mystwarr_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mystwarr.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] #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 #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] static INTERRUPT_GEN(audio_interrupt) ^ 6 warnings generated. Compiling src/vidhrdw/rungun_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] #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 #define ROM_LOAD64_WORD(name,offset,length,hash) ROMX_LOAD(name, offset, length, hash, ROM_GROUPWORD | ROM_SKIP(6)) ^ 5 warnings generated. Compiling src/vidhrdw/dbz2_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dbz2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] #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 #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] ROM = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/bishi_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bishi.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] state_save_register_INT32("bishi", 0, "control2", (INT32 *)&cur_control, 1); ^~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/lethal_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] shd_base = (UINT32 *)palette_shadow_table; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/konamigx_machine.c:516:13: warning: variable 'db0' set but not used [-Wunused-but-set-variable] UINT8 z8, db0, p8, db1; ^ src/machine/konamigx_machine.c:516:22: warning: variable 'db1' set but not used [-Wunused-but-set-variable] UINT8 z8, db0, p8, db1; ^ src/machine/konamigx_machine.c:1284:49: warning: variable 'prflp' set but not used [-Wunused-but-set-variable] 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] 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] INT32 data1, data2, i, j, vpos, hpos, voffs, hoffs, vcorr, hcorr, vmask, hmask, magicid; ^ 10 warnings generated. Compiling src/vidhrdw/konamigx_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/konamigx.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:142:26: warning: this function declaration is not a prototype [-Wstrict-prototypes] 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] 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] data32_t *ROM = (data32_t *)memory_region(REGION_GFX3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:3307:26: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void fantjour_dma_install() ^ 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] data32_t *rom = (data32_t*)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:1389:22: warning: unused function 'gxaudio_interrupt' [-Wunused-function] static INTERRUPT_GEN(gxaudio_interrupt) ^ 10 warnings generated. Compiling src/vidhrdw/djmain_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/djmain.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/plygonet_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/plygonet.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] ROM = (data32_t *)memory_region(REGION_GFX2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/drivers/mogura.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/am53cf96.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int reg, val, dma; ^ 5 warnings generated. Compiling src/drivers/konamigq.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/carpolo_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/carpolo_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int bit0,bit1,bit2; ^ src/vidhrdw/carpolo_vidhrdw.c:103:12: warning: variable 'bit1' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^ src/vidhrdw/carpolo_vidhrdw.c:103:17: warning: variable 'bit2' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^ 7 warnings generated. Compiling src/drivers/carpolo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] motion_object_1_vid = auto_bitmap_alloc(16, 16); ^ src/vidhrdw/exidy_vidhrdw.c:156:5: note: previous statement is here if (video_start_generic()) ^ src/vidhrdw/exidy_vidhrdw.c:163:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] motion_object_2_vid = auto_bitmap_alloc(16, 16); ^ src/vidhrdw/exidy_vidhrdw.c:160:5: note: previous statement is here 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] motion_object_2_clip = auto_bitmap_alloc(16, 16); ^ src/vidhrdw/exidy_vidhrdw.c:164:5: note: previous statement is here if (!motion_object_2_vid) ^ 7 warnings generated. Compiling src/sndhrdw/exidy_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exidy.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/targ.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/circus_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] const struct rectangle *clip; ^ 5 warnings generated. Compiling src/drivers/circus.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/starfire_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/starfire.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/victory_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/victory.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] sound_cache_max = (sound_cache_entry *)((UINT8 *)sound_cache + length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/exidy440_sndhrdw.c:289:9: warning: unused variable 'clippers' [-Wunused-variable] 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] sound_cache_end = (sound_cache_entry *)((UINT8 *)current + sizeof(sound_cache_entry) + length * 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/vidhrdw/exidy440_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/atari_vg.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tia.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/asteroid_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/asteroid_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] 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' #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] 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' #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/asteroid.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/llander.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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/drivers/bwidow.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tempest.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/starwars_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/starwars.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/starwars_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mhavoc.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/quantum.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/copsnrob_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/copsnrob.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/flyball_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/flyball.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sprint2_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sprint2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] 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' #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] 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' #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] 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' #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/vidhrdw/sprint4_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sprint8_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sprint8.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nitedrvr_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void nitedrvr_draw_hacks( struct mame_bitmap *bitmap ) ^ 5 warnings generated. Compiling src/machine/nitedrvr_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nitedrvr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] 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' #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. Compiling src/machine/dominos.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/triplhnt_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] /*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] /*discrete_sound_w(2/*TRIPLHNT_SHOT_DATA*/ /*, triplhnt_playfield_ram[0xfc] & 15); */ ^ 6 warnings generated. Compiling src/drivers/triplhnt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 1.e-8, /* C58 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 3.4, 0, 3.4/2, &triplhnt_lfsr) /* TTL voltage level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2282:120: note: expanded from macro 'DISCRETE_LFSR_NOISE' #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/dragrace_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] 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' #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] 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' #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. Compiling src/vidhrdw/poolshrk_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/starshp1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/starshp1.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/canyon_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/canyon.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] 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' #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] 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' #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/destroyr_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/destroyr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ultratnk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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. Compiling src/vidhrdw/wolfpack_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wolfpack.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skyraid.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/avalnche_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/avalnche_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/avalnche.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] 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' #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. Compiling src/drivers/firetrk.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/firetrk_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/ataridis_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 4.4, 10, /* Q3 instantally charges C42 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2357:111: note: expanded from macro 'DISCRETE_RCDISC2' #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] 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' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 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' #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] 1e-7, /* C37 */ ^~~~~~~~~~~~~~~~~ src/sound/discrete.h:2367:116: note: expanded from macro 'DISCRETE_555_ASTABLE' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 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' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 1.e-8, /* C25 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 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' #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] 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' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 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' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 1.e-8, /* C21 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 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' #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] 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' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 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' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 1.e-8, /* C80 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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] 1.e-8, /* C81 */ ^~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2369:116: note: expanded from macro 'DISCRETE_555_CC' #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] 3.4, /* TTL ON level */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/discrete.h:2337:114: note: expanded from macro 'DISCRETE_DAC_R1' #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. Compiling src/vidhrdw/skydiver_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skydiver.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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] 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' #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] 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' #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/machine/sbrkout_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sbrkout_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sbrkout.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/atarifb_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarifb_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarifb.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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/orbit_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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/vidhrdw/videopin_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/subs_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/subs_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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' #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] 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' #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. Compiling src/vidhrdw/bsktball_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/bsktball_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bsktball.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/centiped_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/centiped.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static WRITE_HANDLER( control_select_w ) ^ 5 warnings generated. Compiling src/vidhrdw/runaway_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/runaway.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/missile_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/missile.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/foodf_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] return ((data16_t *)generic_nvram)[offset] | 0xfff0; ^~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/tunhunt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tunhunt_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/liberatr_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 if ((tmpbitmap = auto_bitmap_alloc(Machine->drv->screen_width, Machine->drv->screen_height)) == 0) ^ 5 warnings generated. Compiling src/drivers/liberatr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ccastles_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ccastles.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cloak.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cloud9_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int xflip,yflip,rblank,lblank; ^ src/vidhrdw/cloud9_vidhrdw.c:262:26: warning: variable 'lblank' set but not used [-Wunused-but-set-variable] int xflip,yflip,rblank,lblank; ^ 6 warnings generated. Compiling src/drivers/cloud9.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jedi_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jedi.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/atarigen.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/atarijsa.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarimo_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] rect = &mo->rectlist[-1]; ^ ~~ src/vidhrdw/atarimo_vidhrdw.c:105:2: note: array 'rectlist' declared here struct rectangle rectlist[ATARIMO_MAXPERBANK]; /* list of bounding rectangles */ ^ 5 warnings generated. Compiling src/vidhrdw/atarirle_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] int count, value; ^ src/vidhrdw/atarirle_vidhrdw.c:848:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] int dx, dy, ex, ey, sx = x, sy = y, tx, ty; ^ src/vidhrdw/atarirle_vidhrdw.c:848:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int dx, dy, ex, ey, sx = x, sy = y, tx, ty; ^ src/vidhrdw/atarirle_vidhrdw.c:804:19: warning: variable 'which' set but not used [-Wunused-but-set-variable] int scale, code, which; ^ src/vidhrdw/atarirle_vidhrdw.c:166:19: warning: unused function 'compute_log' [-Wunused-function] static INLINE int compute_log(int value) ^ src/vidhrdw/atarirle_vidhrdw.c:204:19: warning: unused function 'collapse_bits' [-Wunused-function] static INLINE int collapse_bits(int value, int mask) ^ 11 warnings generated. Compiling src/machine/slapstic.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarisy1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] if (mo[x] & ATARIMO_PRIORITY_MASK) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 5 warnings generated. Compiling src/drivers/atarisy1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarisy2_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 6 warnings generated. Compiling src/drivers/atarisy2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/irobot_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] ((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] ((UINT16 *)mbRAM)[ad & 0xfff] = d; /* MB RAM write */ ^~~~~~~~~~~~~~~ 9 warnings generated. Compiling src/vidhrdw/irobot_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT16 *combase16 = (UINT16 *)irobot_combase; ^~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/irobot.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/harddriv_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] adsp_pgm_memory_word = (data16_t *)((UINT8 *)adsp_pgm_memory + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. Compiling src/vidhrdw/harddriv_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] UINT32 *dest = (UINT32 *)&hdgsp_vram[offset * 8]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/sndhrdw/harddriv_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] comram = (UINT16 *)(memory_region(REGION_CPU1 + hdcpu_sounddsp) + 0x1000); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/harddriv.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] (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] (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] 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] 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] 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] 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] 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] 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] 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] 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] static MEMORY_READ16_START( ds3snd_readmem ) ^ src/drivers/harddriv.c:508:30: warning: unused variable 'ds3snd_writemem' [-Wunused-const-variable] static MEMORY_WRITE16_START( ds3snd_writemem ) ^ 16 warnings generated. Compiling src/vidhrdw/gauntlet_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gauntlet.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atetris_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atetris.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/toobin_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/toobin.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vindictr_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 5 warnings generated. Compiling src/drivers/vindictr.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/klax_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blstroid_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = (mo[x] ^ 0x2f0) & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 7 warnings generated. Compiling src/drivers/xybots.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/eprom_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK & ~0x70; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 7 warnings generated. Compiling src/drivers/eprom.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/skullxbo_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 5 warnings generated. Compiling src/drivers/skullxbo.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/badlands_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] if ((mo[x] & ATARIMO_PRIORITY_MASK) || !(pf[x] & 8)) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 6 warnings generated. Compiling src/drivers/badlands.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cyberbal_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cyberbal.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rampart_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rampart.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shuuz_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shuuz.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarig1_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarig1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/thunderj_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 5 warnings generated. Compiling src/drivers/thunderj.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] rom_base[1] = (data16_t *)memory_region(REGION_CPU2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/batman_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #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] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 7 warnings generated. Compiling src/drivers/batman.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int oldword = latch_data; ^ 5 warnings generated. Compiling src/vidhrdw/relief_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/offtwall_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/offtwall.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/arcadecl_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/arcadecl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/beathead_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/beathead.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] COMBINE_DATA(&((data32_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:34: note: expanded from macro 'COMBINE_DATA' #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] COMBINE_DATA(&((data32_t *)generic_nvram)[offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:872:47: note: expanded from macro 'COMBINE_DATA' #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) ^~~~~~ 6 warnings generated. Compiling src/vidhrdw/atarig42_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIRLE_DATA_MASK; ^~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:24:31: note: expanded from macro 'ATARIRLE_DATA_MASK' #define ATARIRLE_DATA_MASK (ATARIRLE_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:23:38: note: expanded from macro 'ATARIRLE_PRIORITY_MASK' #define ATARIRLE_PRIORITY_MASK ((~0 << ATARIRLE_PRIORITY_SHIFT) & 0xffff) ~~ ^ 5 warnings generated. Compiling src/drivers/atarig42.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] *(data16_t *)&memory_region(REGION_CPU1)[0x80000] = 0x4E75; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/machine/asic65.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarigx2_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pf[x] = mo[x] & ATARIRLE_DATA_MASK; ^~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:24:31: note: expanded from macro 'ATARIRLE_DATA_MASK' #define ATARIRLE_DATA_MASK (ATARIRLE_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/atarirle.h:23:38: note: expanded from macro 'ATARIRLE_PRIORITY_MASK' #define ATARIRLE_PRIORITY_MASK ((~0 << ATARIRLE_PRIORITY_SHIFT) & 0xffff) ~~ ^ 5 warnings generated. Compiling src/drivers/atarigx2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/atarigt_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/atarigt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jaguar_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] objdata = (data32_t *)get_jaguar_memory((gpu_regs[OLP_H] << 16) | gpu_regs[OLP_L]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. Compiling src/sndhrdw/jaguar_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cojag.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] ((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] ((UINT32 *)generic_nvram)[offset] = data & 0xff000000; ^~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. Compiling src/sndhrdw/cage_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rockola_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/rockola_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rockola.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/lasso_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/munchmo_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/marvins_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/marvins.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jcross_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mainsnk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void init_sound( int busy_bit ) ^ 5 warnings generated. Compiling src/drivers/hal21.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; ^~~~~~~~~~~~~~~ src/drivers/hal21.c:122:22: warning: unused function 'hal21_videoram_r' [-Wunused-function] static READ_HANDLER( hal21_videoram_r ){ return videoram[offset]; } ^ 9 warnings generated. Compiling src/vidhrdw/snk_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snk_vidhrdw.c:36:13: warning: unused function 'print' [-Wunused-function] static void print( struct mame_bitmap *bitmap, int num, int row ) ^ 11 warnings generated. Compiling src/drivers/snk.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int joypos16 = value>>4; ^ src/drivers/snk.c:364:6: warning: unused variable 'joypos16' [-Wunused-variable] int joypos16 = value>>4; ^ src/drivers/snk.c:353:12: warning: unused variable 'dial_12' [-Wunused-variable] const int dial_12[13] = { ^ 7 warnings generated. Compiling src/drivers/sgladiat.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/snk68_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/snk68.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/prehisle_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/prehisle.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bbusters_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bbusters.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shougi.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] mrulepool = (struct MRULE *)(byte_ptr + 0x4000); /* rules pool*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/equites_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] charram1 = (data16_t*)(buf8ptr + videoram_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/drivers/equites.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/alpha68k_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/alpha68k.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/champbas_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/champbas.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/exctsccr_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/exctsccr_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exctsccr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/scregg.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tagteam_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tagteam.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ssozumo_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bogeyman_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bogeyman.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/matmania_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/matmania.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/maniach.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/renegade_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/renegade.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xain_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xain.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/battlane_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/battlane.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ddragon_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ddragon.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/chinagat.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/spdodgeb_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spdodgeb.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wwfsstar_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wwfsstar.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vball_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vball.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blockout_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/blockout.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ddragon3_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ddragon3.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wwfwfest_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/berzerk_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/berzerk_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/berzerk_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/berzerk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mazerbla.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT32 color_base=0; ^ 5 warnings generated. Compiling src/drivers/supdrapo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/toratora.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/zac2650.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/zaccaria_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/zaccaria.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mouser_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mouser.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nova2001_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nova2001.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] ninjakun_xscroll = data; ^ src/vidhrdw/ninjakid_vidhrdw.c:164:4: note: previous statement is here else ^ 5 warnings generated. Compiling src/drivers/ninjakid.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/raiders5.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pkunwar_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pkunwar.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xxmissio_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xxmissio.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ninjakd2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mnight_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mnight.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/omegaf_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/omegaf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nmk16_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] static void get_tile_info_0_8bit(int tile_index) ^ 6 warnings generated. Compiling src/machine/nmk004.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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' [-Wimplicit-int] res = 0; ^ 5 warnings generated. Compiling src/drivers/nmk16.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c:430:28: warning: unused variable 'tharrier_sound_writemem' [-Wunused-const-variable] static MEMORY_WRITE_START( tharrier_sound_writemem ) ^ src/drivers/nmk16.c:3146:31: warning: unused variable 'ym2151_interface' [-Wunused-variable] static struct YM2151interface ym2151_interface = ^ 10 warnings generated. Compiling src/drivers/jalmah.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/quizpani.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/quizpani_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/macrossp_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/macrossp.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/quizdna_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/quizdna.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/jack_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/jack.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/embargo.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/cinemat_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cinemat.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/cchasm_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cchasm_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static int led; ^ 5 warnings generated. Compiling src/drivers/cchasm.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/thepit_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/timelimt_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/timelimt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static WRITE_HANDLER( sound_reset_w ) ^ 5 warnings generated. Compiling src/machine/bagman_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bagman_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bagman.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tankbust_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tankbust.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wiz_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wiz.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kncljoe_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kncljoe.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/stfight_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/stfight.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cshooter.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/deadang.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dynduke_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] if (buffered_spriteram[offs+0]==0xf0f) continue; ~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~ 5 warnings generated. Compiling src/drivers/dynduke.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] if (buffered_spriteram[offs+0]==0xf0f) continue; ~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~ 5 warnings generated. Compiling src/drivers/raiden.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/raiden2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dcon_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dcon.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/sengokmj_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sengokmj.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/t5182.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] MDRV_SOUND_ADD(YM2151, t5182_ym2151_interface) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:250:2: note: expanded from macro 'MDRV_SOUND_ADD' MDRV_SOUND_ADD_TAG(NULL, type, interface) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:247:50: note: expanded from macro 'MDRV_SOUND_ADD_TAG' machine_add_sound(machine, (tag), SOUND_##type, &(interface)); \ ^~~~~~~~~~~~ src/driver.h:270:112: note: passing argument to parameter 'sndintf' here struct MachineSound *machine_add_sound(struct InternalMachineDriver *machine, const char *tag, int type, void *sndintf); ^ 5 warnings generated. Compiling src/vidhrdw/mustache_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mustache.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/darkmist_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/darkmist.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cabal_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/cabal.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/toki_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bloodbro.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/legionna_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/goal92_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/goal92.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/exerion.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fcombat.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/aeroboto_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aeroboto.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/citycon_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/citycon.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/momoko_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/momoko.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/argus_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/argus.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/skyfox_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skyfox.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/homerun_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] 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] rom_1 = (data16_t *) memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. Compiling src/vidhrdw/tetrisp2_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void *rockn_timer_sub_l4; ^ 5 warnings generated. Compiling src/vidhrdw/megasys1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/megasys1.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] 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] 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] 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] RAM = (data16_t *) memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. Compiling src/vidhrdw/ms32_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ms32.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/bigstrkb_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bigstrkb.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/rpunch_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rpunch.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tail2nos_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] zoomdata = (data16_t *)memory_region(REGION_GFX3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/tail2nos.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ojankohs_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ojankohs.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pipedrm.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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 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 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] 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 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 if (!chip_disabled_pri & (pri>>4)) continue; ^ ( ) 7 warnings generated. Compiling src/drivers/aerofgt.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/welltris_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/welltris.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/f1gp_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri; ^ 7 warnings generated. Compiling src/drivers/f1gp.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/taotaido_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] tilemap_mark_all_tiles_dirty(bg_tilemap); ^ src/vidhrdw/taotaido_vidhrdw.c:160:4: note: previous statement is here if(ACCESSING_LSB) ^ 5 warnings generated. Compiling src/drivers/taotaido.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crshrace_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/crshrace.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/gstriker_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/suprslam.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fromanc2_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fromanc2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/inufuku_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/inufuku.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/psikyosh.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/psikyo4_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/8254pit.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/leland.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/leland_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/leland_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/leland_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] struct counter_state *ctr; ^ 5 warnings generated. Compiling src/drivers/ataxx.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/marineb_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/marineb.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/funkybee.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/zodiack_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static MACHINE_DRIVER_START( moguchan ) ^ src/driver.h:98:7: note: expanded from macro 'MACHINE_DRIVER_START' void construct_##game(struct InternalMachineDriver *machine) \ ^ :52:1: note: expanded from here construct_moguchan ^ 5 warnings generated. Compiling src/vidhrdw/espial_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/espial.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/vastar_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xorworld.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *rom = (data16_t *)(memory_region(REGION_CPU1) + 0x1390); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/splash_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/splash.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/thoop2_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/thoop2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gaelco_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/wrally_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/wrally_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/wrally.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/targeth_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/targeth.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/gaelco2_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gaelco2_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gaelco2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/glass.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/airbustr_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/airbustr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/djboy_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/djboy.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/galpanic_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galpanic.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *ROM = (data16_t *) memory_region( REGION_USER1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/jchan.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kaneko16_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kaneko16.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT32 length;/*, size;*/ ^ src/drivers/kaneko16.c:1184:9: note: previous declaration is here 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] dat = (UINT8 *)EEPROM_get_data_pointer(&length); ^~~~~~~ src/machine/eeprom.h:30:39: note: passing argument to parameter 'length' here UINT8 * EEPROM_get_data_pointer(int * length); ^ src/drivers/kaneko16.c:1492:7: warning: variable 'length' set but not used [-Wunused-but-set-variable] 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] dat = (UINT8 *)EEPROM_get_data_pointer(&length); ^~~~~~~ src/machine/eeprom.h:30:39: note: passing argument to parameter 'length' here UINT8 * EEPROM_get_data_pointer(int * length); ^ src/drivers/kaneko16.c:1556:8: warning: declaration shadows a local variable [-Wshadow] int i; ^ src/drivers/kaneko16.c:1505:6: note: previous declaration is here int i; ^ src/drivers/kaneko16.c:2008:59: warning: declaration shadows a variable in the global scope [-Wshadow] void toxboy_handle_04_subcommand(UINT8 mcu_subcmd, UINT16*mcu_ram) ^ src/drivers/kaneko16.c:72:18: note: previous declaration is here 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] if ( (readinputport(4) & 0x1800) == 0x10) /* DSW setting*/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 11 warnings generated. Compiling src/vidhrdw/suprnova_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int xsize,ysize, size, xpos=0,ypos=0, pri=0, romoffset, colour=0, xflip,yflip, joint; ^ 5 warnings generated. Compiling src/drivers/suprnova.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int use_bright, r, g, b, alpha; ^ src/drivers/suprnova.c:898:48: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] int brightness_r, brightness_g, brightness_b, alpha; ^ 6 warnings generated. Compiling src/machine/pd4990a.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/neocrypt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] ((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] ((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] ((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] ((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] ((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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] UINT16 *mem16 = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 warnings generated. Compiling src/machine/neogeo_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] 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] data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. Compiling src/vidhrdw/neogeo_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/neogeo.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hanaawas.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/speedatk_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/speedatk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/srmp2_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/srmp2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/seta_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/seta.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/seta2_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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' [-Wimplicit-int] xpos = 0; ^ 5 warnings generated. Compiling src/drivers/seta2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/powerins_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/powerins.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ohmygod_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ohmygod.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/route16_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware; ^ 6 warnings generated. Compiling src/drivers/route16.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ttmahjng_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ttmahjng.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kangaroo.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/arabian_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 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 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] 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 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 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] int bbase = (!abhf & az) ? 0 : ab; ^ ~ src/vidhrdw/arabian_vidhrdw.c:148:16: note: add parentheses after the '!' to evaluate the bitwise operator first 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 int bbase = (!abhf & az) ? 0 : ab; ^ ( ) 7 warnings generated. Compiling src/drivers/arabian.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/markham_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/markham.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/strnskil_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/strnskil.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ikki_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ikki.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shanghai.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shangha3_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/goindol.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suna8_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/suna8.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suna16_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/suna16.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/gundealr_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dooyong_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dooyong.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/leprechn_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/leprechn.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/beezer_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/beezer.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pushman_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/zerozone_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/zerozone.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/galspnbl_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/galspnbl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sslam.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/playmark_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/playmark.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static PORT_READ_START( hrdtimes_sound_readport ) ^ src/drivers/playmark.c:403:26: warning: unused variable 'hrdtimes_sound_writeport' [-Wunused-const-variable] static PORT_WRITE_START( hrdtimes_sound_writeport ) ^ 6 warnings generated. Compiling src/vidhrdw/thief_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/thief.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mrflea_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mrflea.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/holeland_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/holeland.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/speedbal.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sauro_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sauro.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/metro_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/metro.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] init_metro(); ^ src/drivers/metro.c:4616:1: note: previous statement is here 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] static WRITE16_HANDLER( mouja_irq_timer_ctrl_w ) ^ src/drivers/metro.c:592:25: warning: unused function 'mouja_sound_rombank_w' [-Wunused-function] static WRITE16_HANDLER( mouja_sound_rombank_w ) ^ src/drivers/metro.c:598:24: warning: unused function 'mouja_m6295_status_lsb_r' [-Wunused-function] static READ16_HANDLER( mouja_m6295_status_lsb_r ) ^ src/drivers/metro.c:613:25: warning: unused function 'mouja_m6295_data_msb_w' [-Wunused-function] static WRITE16_HANDLER( mouja_m6295_data_msb_w ) ^ 10 warnings generated. Compiling src/vidhrdw/hyprduel_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] static INLINE void get_tile_info_16x16_8bit(int tile_index,int layer,data16_t *vram) ^ 6 warnings generated. Compiling src/drivers/hyprduel.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/spcforce_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spcforce.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/looping.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/paradise_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/paradise.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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' [-Wimplicit-int] static irq_count = 0; ~~~~~~ ^ 5 warnings generated. Compiling src/vidhrdw/yunsung8_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yunsung8.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yunsun16.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/blueprnt_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/blueprnt.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/fuukifg3_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/fuukifg3.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static WRITE32_HANDLER( fuuki32_sound_command_w ) ^ src/drivers/fuukifg3.c:168:24: warning: unused function 'fuuki32_sound_command_r' [-Wunused-function] static READ32_HANDLER( fuuki32_sound_command_r ) ^ 6 warnings generated. Compiling src/vidhrdw/drgnmst_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/unico_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/unico.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/silkroad_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/silkroad.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/afega_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/afega.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int county,countx,pen,offs; ^ 5 warnings generated. Compiling src/drivers/hnayayoi.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dynax_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int dy,length,pen,offs; ^ src/vidhrdw/dynax_vidhrdw.c:680:21: warning: variable 'offs' set but not used [-Wunused-but-set-variable] int dy,length,pen,offs; ^ 6 warnings generated. Compiling src/drivers/dynax.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static MEMORY_READ16_START( roldfrog_readmem ) ^ src/drivers/dynax.c:795:30: warning: unused variable 'roldfrog_writemem' [-Wunused-const-variable] static MEMORY_WRITE16_START( roldfrog_writemem ) ^ 6 warnings generated. Compiling src/drivers/ddenlovr.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static INTERRUPT_GEN( rtc_irq ) ^ 5 warnings generated. Compiling src/drivers/realbrk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/realbrk_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crtc6845.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/nyny_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/nyny.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/spiders_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/spiders_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spiders.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/iqblock_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/iqblock.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] UINT16 *rom = (UINT16 *) memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c:293:1: warning: unused function 'igs_5_input_w' [-Wunused-function] IGS_INPUT_RW( 5 ) ^ src/drivers/chindrag.c:270:25: note: expanded from macro 'IGS_INPUT_RW' static WRITE16_HANDLER( igs_##NUM##_input_w ) \ ^ :149:1: note: expanded from here igs_5_input_w ^ src/drivers/chindrag.c:293:1: warning: unused function 'igs_5_input_r' [-Wunused-function] src/drivers/chindrag.c:278:24: note: expanded from macro 'IGS_INPUT_RW' static READ16_HANDLER( igs_##NUM##_input_r ) \ ^ :151:1: note: expanded from here igs_5_input_r ^ src/drivers/chindrag.c:600:25: warning: unused function 'chmplst2_magic_w' [-Wunused-function] static WRITE16_HANDLER( chmplst2_magic_w ) ^ src/drivers/chindrag.c:641:24: warning: unused function 'chmplst2_magic_r' [-Wunused-function] static READ16_HANDLER( chmplst2_magic_r ) ^ src/drivers/chindrag.c:754:25: warning: unused function 'grtwall_magic_w' [-Wunused-function] static WRITE16_HANDLER( grtwall_magic_w ) ^ src/drivers/chindrag.c:781:24: warning: unused function 'grtwall_magic_r' [-Wunused-function] static READ16_HANDLER( grtwall_magic_r ) ^ src/drivers/chindrag.c:818:25: warning: unused function 'lhb_okibank_w' [-Wunused-function] static WRITE16_HANDLER( lhb_okibank_w ) ^ src/drivers/chindrag.c:830:25: warning: unused function 'lhb_input2_w' [-Wunused-function] static WRITE16_HANDLER( lhb_input2_w ) ^ src/drivers/chindrag.c:847:24: warning: unused function 'lhb_input2_r' [-Wunused-function] static READ16_HANDLER( lhb_input2_r ) ^ src/drivers/chindrag.c:932:25: warning: unused function 'xymg_magic_w' [-Wunused-function] static WRITE16_HANDLER( xymg_magic_w ) ^ src/drivers/chindrag.c:960:24: warning: unused function 'xymg_magic_r' [-Wunused-function] static READ16_HANDLER( xymg_magic_r ) ^ src/drivers/chindrag.c:1060:25: warning: unused function 'vbowl_unk_w' [-Wunused-function] static WRITE16_HANDLER( vbowl_unk_w ) ^ src/drivers/chindrag.c:1625:13: warning: unused function 'sound_irq' [-Wunused-function] static void sound_irq(int state) ^ src/drivers/chindrag.c:1702:8: warning: unused function 'init_chindrag' [-Wunused-function] static DRIVER_INIT( chindrag ) ^ src/driver.h:19:33: note: expanded from macro 'DRIVER_INIT' #define DRIVER_INIT(name) void init_##name(void) ^ :84:1: note: expanded from here init_chindrag ^ 29 warnings generated. Compiling src/drivers/grtwall.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] data16_t *src = (data16_t *) (memory_region(REGION_CPU1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/pgm_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pgm.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] UINT16 *PROTROM = (UINT16*)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:1882:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] 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] UINT16 *PROTROM = (UINT16*)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:2113:36: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void olds_protection_calculate_hilo() /* calculated in routine $12dbc2 in olds */ ^ 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] UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:2571:7: warning: declaration shadows a variable in the global scope [-Wshadow] int num_mask_bits; ^ src/drivers/pgm.c:2505:12: note: previous declaration is here static int num_mask_bits; ^ src/drivers/pgm.c:2572:7: warning: declaration shadows a variable in the global scope [-Wshadow] int desired_mask; ^ src/drivers/pgm.c:2507:12: note: previous declaration is here static int desired_mask; ^ src/drivers/pgm.c:2573:7: warning: declaration shadows a variable in the global scope [-Wshadow] int realrow; ^ src/drivers/pgm.c:2510:12: note: previous declaration is here static int realrow; ^ src/drivers/pgm.c:2807:6: warning: declaration shadows a variable in the global scope [-Wshadow] int columns = 0; ^ src/drivers/pgm.c:2506:12: note: previous declaration is here static int columns; ^ src/drivers/pgm.c:2808:6: warning: declaration shadows a variable in the global scope [-Wshadow] int rows = 0; ^ src/drivers/pgm.c:2509:12: note: previous declaration is here static int rows; ^ src/drivers/pgm.c:2895:12: warning: declaration shadows a variable in the global scope [-Wshadow] UINT16* leveldata = &level_structure[0][0]; ^ src/drivers/pgm.c:2508:12: note: previous declaration is here 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] data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pgm.c:2505:12: warning: unused variable 'num_mask_bits' [-Wunused-variable] static int num_mask_bits; ^ src/drivers/pgm.c:2506:12: warning: unused variable 'columns' [-Wunused-variable] static int columns; ^ src/drivers/pgm.c:2507:12: warning: unused variable 'desired_mask' [-Wunused-variable] static int desired_mask; ^ src/drivers/pgm.c:2508:12: warning: unused variable 'leveldata' [-Wunused-variable] static int leveldata; ^ src/drivers/pgm.c:2509:12: warning: unused variable 'rows' [-Wunused-variable] static int rows; ^ src/drivers/pgm.c:2510:12: warning: unused variable 'realrow' [-Wunused-variable] static int realrow; ^ 26 warnings generated. Compiling src/machine/pgmprot_machine.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/pgmcrypt.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] data16_t *src = (data16_t *) (memory_region(REGION_CPU1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. Compiling src/machine/pgmy2ks.c... Compiling src/vidhrdw/hitme_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hitme.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/starcrus_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/starcrus.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/battlex_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/battlex.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/carjmbre_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/carjmbre.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/popper_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/popper.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/speedspn_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/speedspn.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/kickgoal_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kickgoal.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/kickgoal.c:238:29: warning: '/*' within block comment [-Wcomment] /* { 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] data16_t *rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/usgames_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/usgames.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mermaid_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mermaid.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/drmicro_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/appoooh.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/bankp_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/bankp.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mjkjidai_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mayumi.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/btoads_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/btoads.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/kinst.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/freekick_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rmhaihai.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hanaroku.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/yumefuda.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/homedata_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/homedata.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] blitter_base = (UINT16 *)memory_region(REGION_GFX1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/artmagic.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/shangkid_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/shangkid.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/astinvad_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/astinvad_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/astinvad.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spacefb.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static int explosion_playing = 0; ^ 5 warnings generated. Compiling src/drivers/omegrace.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dday_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dday.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/hexa_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/hexa.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/redalert_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/redalert_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/redalert.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/stactics_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/stactics.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ambush_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ambush.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dlair.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/aztarac_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aztarac.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] return ((data16_t *)generic_nvram)[offset] | 0xfff0; ^~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/mole_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mole.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gotya_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/gotya_sndhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mrjong_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mrjong.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sndhrdw/polyplay_sndhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/polyplay.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/amspdwy_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/amspdwy.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/othldrby_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/othldrby.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/spdbuggy.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sprcros2_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sprcros2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mugsmash_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mugsmash.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void draw_sprites_old( struct mame_bitmap *bitmap, const struct rectangle *cliprect ) ^ 5 warnings generated. Compiling src/drivers/stlforce.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gcpinbal_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gcpinbal.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/aquarium_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/aquarium.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/policetr_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/pass_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pass.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/taxidrvr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/xyonix_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/xyonix.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/findout.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/dribling_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dribling.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ace.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/clayshoo_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/clayshoo_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] data16_t *rom = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/vidhrdw/fitfight_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/flower.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/diverboy_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/beaminv_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/beaminv.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/mcatadv_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mcatadv.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static WRITE16_HANDLER( mcat_coin_w ) ^ 5 warnings generated. Compiling src/vidhrdw/4enraya_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/4enraya.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/oneshot_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/oneshot.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/gotcha_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/gotcha.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/coolpool.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] rom = (data16_t *)memory_region(REGION_USER2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/vidhrdw/gumbo_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/statriv2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tickee_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crgolf_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/crgolf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/truco_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/truco.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/thedeep.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] MDRV_SOUND_ADD(YM3526, wheelrun_ym3526_interface ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:250:2: note: expanded from macro 'MDRV_SOUND_ADD' MDRV_SOUND_ADD_TAG(NULL, type, interface) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/driver.h:247:50: note: expanded from macro 'MDRV_SOUND_ADD_TAG' machine_add_sound(machine, (tag), SOUND_##type, &(interface)); \ ^~~~~~~~~~~~ src/driver.h:270:112: note: passing argument to parameter 'sndintf' here struct MachineSound *machine_add_sound(struct InternalMachineDriver *machine, const char *tag, int type, void *sndintf); ^ 6 warnings generated. Compiling src/drivers/wallc.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/skyarmy.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/lethalj_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] blitter_base = (UINT16 *)memory_region(REGION_GFX1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/lethalj.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/sbugger_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/sbugger.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/portrait_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/portrait.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/enigma2.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ltcasino.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vamphalf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/strvmstr.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dorachan.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/ladyfrog_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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/ladyfrog.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/rabbit.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/malzak.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static INTERRUPT_GEN( malzak_interrupt ) ^ 5 warnings generated. Compiling src/vidhrdw/malzak_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/supertnk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/crospang_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int offs,fx,fy,x,y,color,sprite,attr,dy,ay,flag; ^ 5 warnings generated. Compiling src/drivers/crospang.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static READ_HANDLER ( unk_port_r ) ^ 5 warnings generated. Compiling src/drivers/dreamwld.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT16 *redirect = (UINT16 *)memory_region(REGION_GFX3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/machine/seicop.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] else if (pal_brightness_val == 0xffff) /* level transitions*/ ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ 5 warnings generated. Compiling src/vidhrdw/denjinmk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void get_mid_tile_info(int tile_index) ^ src/vidhrdw/denjinmk.c:106:13: warning: unused function 'get_fore_tile_info' [-Wunused-function] static void get_fore_tile_info(int tile_index) /* this is giving bad tiles... */ ^ 6 warnings generated. Compiling src/drivers/driver_denjinmk.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT16 *ROM = (UINT16 *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/simpl156.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] EEPROM_set_data(simpl156_default_eeprom,0x100); ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/eeprom.h:29:29: note: passing argument to parameter 'data' here void EEPROM_set_data(UINT8 *data, int length); ^ src/drivers/simpl156.c:101:21: warning: unused variable 'prtytime_default_eeprom' [-Wunused-variable] static const UINT8 *prtytime_default_eeprom = NULL; ^ 6 warnings generated. Compiling src/drivers/boogwing.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dietgo.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] { 0x280000, 0x2807ff, MWA16_RAM, &spriteram16, &spriteram_size }, ^~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/drivers/pktgaldx.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/dblewing.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mwarr.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/backfire.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/pturn.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/suprridr_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/vmetal.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/deco156.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/madalien.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/n8080.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/mirax.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/model1_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] float x, y, z; ^ 6 warnings generated. Compiling src/vidhrdw/model1_vidhrdw.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int dump; ^ src/vidhrdw/model1_vidhrdw.c:941:23: warning: variable 'v1' set but not used [-Wunused-but-set-variable] UINT32 tex_adr, lum, v1, v2; ^ src/vidhrdw/model1_vidhrdw.c:941:27: warning: variable 'v2' set but not used [-Wunused-but-set-variable] UINT32 tex_adr, lum, v1, v2; ^ src/vidhrdw/model1_vidhrdw.c:1444:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] poly_rom = (UINT32 *)memory_region(REGION_USER1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/model1_vidhrdw.c:83:15: warning: unused function 'f2u' [-Wunused-function] static UINT32 f2u(float f) ^ src/vidhrdw/model1_vidhrdw.c:482:15: warning: unused function 'scale_color' [-Wunused-function] static UINT16 scale_color(UINT16 color, float level) ^ src/vidhrdw/model1_vidhrdw.c:703:28: warning: unused variable 'times' [-Wunused-const-variable] static const unsigned char times[]={1,1,1,1,2,2,2,3}; ^ 11 warnings generated. Compiling src/drivers/model1.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] logerror("MW 10[r10], %f (%x)\n", *(float *)(mr2+0x1f10/2), activecpu_get_pc()); ^~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling src/drivers/calorie.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/mc8123.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/machine/namcoio_machine.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/drivers/tatsumi.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/tatsumi.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] const struct mame_bitmap *src_bitmap = tilemap_get_pixmap(src); ^~~ src/tilemap.h:149:58: note: passing argument to parameter 'tilemap' here struct mame_bitmap *tilemap_get_pixmap( struct tilemap * tilemap ); ^ 5 warnings generated. Compiling src/machine/tatsumi.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] const data16_t* rom=(data16_t*)memory_region(REGION_CPU2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/cpu/z80/z80.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] log_cb(RETRO_LOG_DEBUG, LOGPRE "Z80 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback); ^~~~~~~~~~~~~ 5 warnings generated. Compiling src/cpu/adsp2100/adsp2100.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] ADSP2100_WRPGM(&OP_ROM[ADSP2100_PGM_OFFSET + addr], data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/adsp2100/adsp2100.h:114:31: note: expanded from macro 'ADSP2100_WRPGM' #define ADSP2100_WRPGM(A,V) (*(UINT32 *)(A) = (V) & 0xffffff) ^~~~~~~~~~~~~ 6 warnings generated. Compiling src/cpu/z180/z180.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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 (which contains 64 elements) [-Warray-bounds] irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2; ^ ~~~~~~~ src/cpu/z180/z180.c:73:10: note: array 'io' declared here /* 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] log_cb(RETRO_LOG_DEBUG, LOGPRE "Z180 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback); ^~~~~~~~~~~~~ 6 warnings generated. Compiling src/cpu/i8085/i8085.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static void illegal(void) ^ 5 warnings generated. Compiling src/cpu/m6502/m6502.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] int tmp; m6502_ICount -= 2; RD_IMM; ^ 5 warnings generated. Compiling src/cpu/h6280/h6280.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/i86/i86.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] unsigned tmp; ^ 6 warnings generated. Compiling src/cpu/nec/nec.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] unsigned tmp; ^ src/cpu/nec/nec.c:747:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] OP( 0xd4, i_aam ) { UINT32 mult=FETCH; mult=0; I.regs.b[AH] = I.regs.b[AL] / 10; I.regs.b[AL] %= 10; SetSZPF_Word(I.regs.w[AW]); CLKS(15,15,12); } ^ src/cpu/nec/nec.c:748:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] OP( 0xd5, i_aad ) { UINT32 mult=FETCH; mult=0; I.regs.b[AL] = I.regs.b[AH] * 10 + I.regs.b[AL]; I.regs.b[AH] = 0; SetSZPF_Byte(I.regs.b[AL]); CLKS(7,7,8); } ^ src/cpu/nec/nec.c:1205:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] nec_Regs *r = context; ^ src/cpu/nec/nec.c:1257:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] nec_Regs *r = context; ^ 9 warnings generated. Compiling src/cpu/v60/v60.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/v60/v60d.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/i8039/i8039.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/i8x41/i8x41.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 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 UINT8 res = A + ((PSW & FA) || ((A & 0x0f) > 0x09)) ? 0x06 : 0x00; ^ ( ) 5 warnings generated. Compiling src/cpu/m6800/m6800.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT8 t; ^ src/cpu/m6800/m6800.c:697:7: warning: variable 'eddge' set but not used [-Wunused-but-set-variable] int eddge; ^ 6 warnings generated. Compiling src/cpu/m6805/m6805.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT8 t; ^ src/cpu/m6805/m6805.c:284:20: warning: unused function 'WM16' [-Wunused-function] static INLINE void WM16( UINT32 Addr, PAIR *p ) ^ 6 warnings generated. Compiling src/cpu/hd6309/hd6309.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT8 t; ^ 5 warnings generated. Compiling src/cpu/m6809/m6809.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT8 t; ^ 5 warnings generated. Compiling src/cpu/konami/konami.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT8 t; ^ 5 warnings generated. Compiling src/cpu/m68000/m68kops.c... Compiling src/cpu/m68000/m68kopac.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/m68000/m68kopdm.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/m68000/m68kopnz.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/m68000/m68kcpu.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] "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] "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] "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] "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] "M68EC020" ^~~~~~~~~~ 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] "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] "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] "M68020" ^~~~~~~~ 12 warnings generated. Compiling src/cpu/m68000/m68kmame.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/t11/t11.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] return *(UINT16 *)(&t11.bank[pc >> 13][pc & 0x1fff]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/cpu/s2650/s2650.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/tms34010/tms34010.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] 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] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] 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] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] 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] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1149:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1187:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1190:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1225:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1228:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1388:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1396:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1428:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1436:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1464:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1472:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1621:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1657:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1690:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1814:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1849:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1881:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ 76 warnings generated. Compiling src/cpu/tms34010/34010fld.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/tms9900/tms9980a.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] value = readword(dest) ^ readword(src); ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' #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] unsigned long prod = ((unsigned long) readword(dest)) * ((unsigned long) readword(src)); ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' #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] value = readword(dest) & (~ readword(src)); ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' #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] value = readword(dest) | readword(src); ^ ~~~~~~~~~~~~~ src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword' #define readword(addr) ( TMS99XX_ICOUNT -= 2, (cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) ) ^ 8 warnings generated. Compiling src/cpu/tms9900/tms9995.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] *(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] *(UINT16 *)(& I.RAM[addr - 0xff00]) = data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. Compiling src/cpu/tms9900/tms9900.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/z8000/z8000.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] static INLINE UINT32 RDPORT_L(int mode, UINT16 addr) ^ src/cpu/z8000/z8000.c:287:20: warning: unused function 'WRPORT_L' [-Wunused-function] static INLINE void WRPORT_L(int mode, UINT16 addr, UINT32 value) ^ 9 warnings generated. Compiling src/cpu/tms32010/tms32010.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/tms32025/tms32025.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] R.intRAM = (UINT16 *)memory_region(REGION_CPU1 + cpu_getactivecpu()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/tms32025/tms32025.c:282:20: warning: unused function 'MODIFY_ARB' [-Wunused-function] 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/tms32031/tms32031.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] 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] else if (man < ((INT64)-2 << 31)) ~~~~~~~~~ ^ src/cpu/tms32031/tms32031.c:748:15: warning: variable 'control' set but not used [-Wunused-but-set-variable] UINT32 bits, control, advance; ^ src/cpu/tms32031/tms32031.c:264:20: warning: unused function 'generate_exception' [-Wunused-function] static INLINE void generate_exception(int exception) ^ src/cpu/tms32031/tms32031.c:269:20: warning: unused function 'invalid_instruction' [-Wunused-function] static INLINE void invalid_instruction(UINT32 op) ^ 12 warnings generated. Compiling src/cpu/ccpu/ccpu.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/vidhrdw/cinemat_vidhrdw.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] lastx = tox; ^ src/vidhrdw/cinemat_vidhrdw.c:32:5: note: previous statement is here else ^ 5 warnings generated. Compiling src/cpu/mips/psx_cpu.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/asap/asap.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/upd7810/upd7810.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/arm/arm.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/jaguar/jaguar.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] jaguar.op = ROPCODE(jaguar.PC); ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] jaguar.op = ROPCODE(jaguar.PC); ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] sprintf(buffer, "$%04X", ROPCODE(pc)); ^~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] sprintf(buffer, "$%04X", ROPCODE(pc)); ^~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] jaguar.op = ROPCODE(jaguar.PC); ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] jaguar.op = ROPCODE(jaguar.PC); ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] jaguar.op = ROPCODE(jaguar.PC); ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] jaguar.op = ROPCODE(jaguar.PC); ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] UINT32 res = ROPCODE(jaguar.PC) | (ROPCODE(jaguar.PC + 2) << 16); ^~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #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] UINT32 res = ROPCODE(jaguar.PC) | (ROPCODE(jaguar.PC + 2) << 16); ^~~~~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:254:24: note: expanded from macro 'ROPCODE' #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. Compiling src/cpu/mips/r3000.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/mips/mips3.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/dsp32/dsp32.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] dsp32_regs *r = context; ^ src/cpu/dsp32/dsp32.c:276:20: warning: unused function 'generate_exception' [-Wunused-function] static INLINE void generate_exception(int exception) ^ src/cpu/dsp32/dsp32.c:281:20: warning: unused function 'invalid_instruction' [-Wunused-function] static INLINE void invalid_instruction(UINT32 op) ^ src/cpu/dsp32/dsp32.c:767:27: warning: unused function 'FINDCONTEXT' [-Wunused-function] static INLINE dsp32_regs *FINDCONTEXT(int cpu) ^ 8 warnings generated. Compiling src/cpu/pic16c5x/pic16c5x.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816o2.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816o3.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816o4.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/g65816/g65816ds.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/spc700/spc700.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] static INLINE uint read_8_instruction(uint address) ^ src/cpu/spc700/spc700.c:520:20: warning: unused function 'EA_DPI' [-Wunused-function] static INLINE uint EA_DPI(void) {return OPER_16_DP();} ^ src/cpu/spc700/spc700.c:622:20: warning: unused function 'SERVICE_IRQ' [-Wunused-function] static INLINE void SERVICE_IRQ(void) ^ 7 warnings generated. Compiling src/cpu/spc700/spc700ds.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/cpu/e132xs/e132xs.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/samples.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] (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] leftSampleNum = NULL; ^ ~~~~ src/sound/samples.c:140:20: warning: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion] rightSampleNum = NULL; ^ ~~~~ src/sound/samples.c:128:23: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] if ( ( channel != 0) || (channel !=1) ) return; /* return normally if not matching ost channel specs */ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 8 warnings generated. Compiling src/sound/dac.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/discrete.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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 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 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] 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 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] disclogfile = NULL; ^ src/sound/discrete.c:330:6: note: previous statement is here if (disclogfile) ^ 7 warnings generated. Compiling src/sound/2203intf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/2151intf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ym2151.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/2608intf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/2610intf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/2612intf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ay8910.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/fm.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] UINT8 prev_pos; ^ 5 warnings generated. Compiling src/sound/2413intf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ym2413.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] chip = (YM2413 *)ptr; ^~~~~~~~~~~~~ 6 warnings generated. Compiling src/sound/ymz280b.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/3812intf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/fmopl.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] OPL->deltat = (YM_DELTAT *)ptr; ^~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/sound/ymdeltat.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/sn76477.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/sn76496.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/tiasound.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/tiaintf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process); ^ src/sound/tiaintf.c:12:5: note: previous statement is here if (Machine->sample_rate == 0) ^ 5 warnings generated. Compiling src/sound/nes_apu.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/astrocde_snd.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/namco.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/namco54.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/namcona.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] mpROM = (data16_t *)memory_region(REGION_CPU1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. Compiling src/sound/tms36xx.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/tms5110.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] buffer[buf_count] = -128<<8; ~~~~^ src/sound/tms5110.c:496:9: warning: variable 'old_head' set but not used [-Wunused-but-set-variable] int old_head, old_count; ^ src/sound/tms5110.c:496:19: warning: variable 'old_count' set but not used [-Wunused-but-set-variable] int old_head, old_count; ^ 7 warnings generated. Compiling src/sound/5110intf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/tms5220.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] buffer[buf_count] = -128<<8; ~~~~^ src/sound/tms5220.c:789:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] if ((! the_first_frame) && (old_energy == (energytable[15] >> 6))) ^ src/sound/tms5220.c:785:5: note: previous statement is here for (i = 0; i < 10; i++) ^ 6 warnings generated. Compiling src/sound/5220intf.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/vlm5030.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] buffer[buf_count] = -511<<6; ~~~~^ 5 warnings generated. Compiling src/sound/adpcm.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/msm5205.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/msm5232.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/hc55516.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/k005289.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/k007232.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/k051649.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/k053260.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/k054539.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] rbase = (short *)(K054539_chips.chip[chip].ram); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/k054539.c:133:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -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] -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] -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] -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] -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] -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] -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] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~^ 13 warnings generated. Compiling src/sound/segapcm.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/rf5c68.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/cem3394.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/qsound.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/iremga20.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/es5506.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] es5506[i].region_base[3] = intf->region3[i] ? (UINT16 *)memory_region(intf->region3[i]) : NULL; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. Compiling src/sound/bsmt2000.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ymf262.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] 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] 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] UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); ^ 8 warnings generated. Compiling src/sound/262intf.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ymf278b.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/gaelco_snd.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/x1_010.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/multipcm.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] pt_abs = (double)abs(pitch); ^~~~~~~~~~ 5 warnings generated. Compiling src/sound/c6280.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/sp0250.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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/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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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)? 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] *((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] *((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] 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] 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' 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] 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' 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' signed int fpart;\ ^ 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] scsp_regs = (UINT16 *)SCSP->udata.datab; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:912:3: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] tmp_dma[2] = scsp_regs[0x416/2]; ^ ~ src/sound/scsp.c:898:2: note: array 'tmp_dma' declared here static UINT16 tmp_dma[2], *scsp_regs; ^ src/sound/scsp.c:939:24: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] scsp_regs[0x416/2] = tmp_dma[2]; ^ ~ src/sound/scsp.c:898:2: note: array 'tmp_dma' declared here 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] scsp_regs = (UINT16 *)SCSP->udata.datab; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. Compiling src/sound/psx.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #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] 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] *( (data32_t *)&m_p_n_ram[ n_address ] ) = n_data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. Compiling src/sound/ymf271.c... 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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/sound/ics2115.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] static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:35: note: expanded from macro 'cpu_readop16_unsafe' #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:917:113: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:35: note: expanded from macro 'cpu_readop32_unsafe' #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:919:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:38: note: expanded from macro 'cpu_readop_arg16_unsafe' #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:920:116: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'data32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:38: note: expanded from macro 'cpu_readop_arg32_unsafe' #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling src/lib/mame-chd/chd.c... src/lib/mame-chd/chd.c:257:20: warning: unused function 'assemble_old_map_entry' [-Wunused-function] static INLINE void assemble_old_map_entry(UINT8 *base, struct map_entry *entry) ^ 1 warning generated. Compiling src/lib/mame-chd/mame_sha1.c... Compiling src/libretro-deps/libFLAC/bitreader.c... Compiling src/libretro-deps/libFLAC/cpu.c... src/libretro-deps/libFLAC/cpu.c:99:23: warning: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSE3' [-Wunused-const-variable] 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] 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] 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] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000; ^ 4 warnings generated. 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... Compiling src/libretro-deps/libFLAC/md5.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] 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] FLAC__int16 *buf1_ = (FLAC__int16*)buf_; ^~~~~~~~~~~~~~~~~~ 2 warnings generated. Compiling src/libretro-deps/libFLAC/memory.c... Compiling src/libretro-deps/libFLAC/stream_decoder.c... Compiling src/libretro-deps/libFLAC/window.c... Compiling src/libretro-common/compat/compat_posix_string.c... Compiling src/libretro-common/compat/compat_snprintf.c... Compiling src/libretro-common/compat/compat_strcasestr.c... Compiling src/libretro-common/compat/compat_strl.c... Compiling src/libretro-common/compat/fopen_utf8.c... Compiling src/libretro-common/encodings/encoding_crc32.c... Compiling src/libretro-common/encodings/encoding_utf.c... Compiling src/libretro-common/file/file_path.c... Compiling src/libretro-common/file/file_path_io.c... Compiling src/libretro-common/streams/file_stream.c... Compiling src/libretro-common/streams/file_stream_transforms.c... Compiling src/libretro-common/streams/interface_stream.c... Compiling src/libretro-common/streams/memory_stream.c... Compiling src/libretro-common/streams/rzip_stream.c... Compiling src/libretro-common/streams/stdin_stream.c... Compiling src/libretro-common/streams/trans_stream.c... Compiling src/libretro-common/streams/trans_stream_pipe.c... Compiling src/libretro-common/streams/trans_stream_zlib.c... Compiling src/libretro-common/string/stdstring.c... 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] if (str[i] > 0x1F && str[i] < 0x80) ~~~~~~ ^ ~~~~ 1 warning generated. Compiling src/libretro-common/utils/md5.c... 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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (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] 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' MD5_SET(n) ^ src/libretro-common/utils/md5.c:72:4: note: expanded from macro 'MD5_SET' (*(MD5_u32plus *)&ptr[(n) * 4]) ^ src/libretro-common/utils/md5.c:58:29: note: expanded from macro 'MD5_STEP' (a) += f((b), (c), (d)) + (x) + (t); \ ^ 64 warnings generated. Compiling src/libretro-common/vfs/vfs_implementation.c... Compiling src/libretro-common/time/rtime.c... Compiling src/lib/zlib/adler32.c... Compiling src/lib/zlib/crc32.c... Compiling src/lib/zlib/deflate.c... Compiling src/lib/zlib/inffast.c... Compiling src/lib/zlib/inflate.c... src/lib/zlib/inflate.c:1484:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return -1L << 16; ~~~ ^ 1 warning generated. Compiling src/lib/zlib/inftrees.c... Compiling src/lib/zlib/ioapi.c... Compiling src/lib/zlib/trees.c... Compiling src/lib/zlib/uncompr.c... Compiling src/lib/zlib/unzip.c... Compiling src/lib/zlib/zutil.c... src/lib/zlib/zutil.c:14:4: warning: initializing 'char *const' with an expression of type 'const char[16]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] "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] "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] "", /* 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] "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] "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] "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] "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] "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] "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] ""}; ^~ 10 warnings 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=2024-04-02T21:52:48+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=955c0beb24' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Tue Apr 2 23:19:51 BST 2024 build time: 00:27:04