gcc: not found
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for mame-0.149
mkdir -p obj//usr/pkgsdl64
mkdir -p obj//usr/pkgsdl64/build
mkdir -p obj//usr/pkgsdl64/emu/audio
mkdir -p obj//usr/pkgsdl64/emu/cpu
mkdir -p obj//usr/pkgsdl64/emu/cpu/adsp2100
mkdir -p obj//usr/pkgsdl64/emu/cpu/alph8201
mkdir -p obj//usr/pkgsdl64/emu/cpu/am29000
mkdir -p obj//usr/pkgsdl64/emu/cpu/apexc
mkdir -p obj//usr/pkgsdl64/emu/cpu/arm
mkdir -p obj//usr/pkgsdl64/emu/cpu/arm7
mkdir -p obj//usr/pkgsdl64/emu/cpu/asap
mkdir -p obj//usr/pkgsdl64/emu/cpu/avr8
mkdir -p obj//usr/pkgsdl64/emu/cpu/ccpu
mkdir -p obj//usr/pkgsdl64/emu/cpu/cop400
mkdir -p obj//usr/pkgsdl64/emu/cpu/cosmac
mkdir -p obj//usr/pkgsdl64/emu/cpu/cp1610
mkdir -p obj//usr/pkgsdl64/emu/cpu/cubeqcpu
mkdir -p obj//usr/pkgsdl64/emu/cpu/dsp16
mkdir -p obj//usr/pkgsdl64/emu/cpu/dsp32
mkdir -p obj//usr/pkgsdl64/emu/cpu/dsp56k
mkdir -p obj//usr/pkgsdl64/emu/cpu/e132xs
mkdir -p obj//usr/pkgsdl64/emu/cpu/es5510
mkdir -p obj//usr/pkgsdl64/emu/cpu/esrip
mkdir -p obj//usr/pkgsdl64/emu/cpu/f8
mkdir -p obj//usr/pkgsdl64/emu/cpu/g65816
mkdir -p obj//usr/pkgsdl64/emu/cpu/h6280
mkdir -p obj//usr/pkgsdl64/emu/cpu/h83002
mkdir -p obj//usr/pkgsdl64/emu/cpu/hcd62121
mkdir -p obj//usr/pkgsdl64/emu/cpu/hd61700
mkdir -p obj//usr/pkgsdl64/emu/cpu/i386
mkdir -p obj//usr/pkgsdl64/emu/cpu/i4004
mkdir -p obj//usr/pkgsdl64/emu/cpu/i8008
mkdir -p obj//usr/pkgsdl64/emu/cpu/i8085
mkdir -p obj//usr/pkgsdl64/emu/cpu/i86
mkdir -p obj//usr/pkgsdl64/emu/cpu/i860
mkdir -p obj//usr/pkgsdl64/emu/cpu/i960
mkdir -p obj//usr/pkgsdl64/emu/cpu/ie15
mkdir -p obj//usr/pkgsdl64/emu/cpu/jaguar
mkdir -p obj//usr/pkgsdl64/emu/cpu/lc8670
mkdir -p obj//usr/pkgsdl64/emu/cpu/lh5801
mkdir -p obj//usr/pkgsdl64/emu/cpu/lr35902
mkdir -p obj//usr/pkgsdl64/emu/cpu/m37710
mkdir -p obj//usr/pkgsdl64/emu/cpu/m6502
mkdir -p obj//usr/pkgsdl64/emu/cpu/m6800
mkdir -p obj//usr/pkgsdl64/emu/cpu/m68000
mkdir -p obj//usr/pkgsdl64/emu/cpu/m6805
mkdir -p obj//usr/pkgsdl64/emu/cpu/m6809
mkdir -p obj//usr/pkgsdl64/emu/cpu/mb86233
mkdir -p obj//usr/pkgsdl64/emu/cpu/mb88xx
mkdir -p obj//usr/pkgsdl64/emu/cpu/mc68hc11
mkdir -p obj//usr/pkgsdl64/emu/cpu/mcs48
mkdir -p obj//usr/pkgsdl64/emu/cpu/mcs51
mkdir -p obj//usr/pkgsdl64/emu/cpu/mcs96
mkdir -p obj//usr/pkgsdl64/emu/cpu/minx
mkdir -p obj//usr/pkgsdl64/emu/cpu/mips
mkdir -p obj//usr/pkgsdl64/emu/cpu/mn10200
mkdir -p obj//usr/pkgsdl64/emu/cpu/nec
mkdir -p obj//usr/pkgsdl64/emu/cpu/pdp1
mkdir -p obj//usr/pkgsdl64/emu/cpu/pic16c5x
mkdir -p obj//usr/pkgsdl64/emu/cpu/pic16c62x
mkdir -p obj//usr/pkgsdl64/emu/cpu/powerpc
mkdir -p obj//usr/pkgsdl64/emu/cpu/pps4
mkdir -p obj//usr/pkgsdl64/emu/cpu/psx
mkdir -p obj//usr/pkgsdl64/emu/cpu/rsp
mkdir -p obj//usr/pkgsdl64/emu/cpu/s2650
mkdir -p obj//usr/pkgsdl64/emu/cpu/saturn
mkdir -p obj//usr/pkgsdl64/emu/cpu/sc61860
mkdir -p obj//usr/pkgsdl64/emu/cpu/scmp
mkdir -p obj//usr/pkgsdl64/emu/cpu/scudsp
mkdir -p obj//usr/pkgsdl64/emu/cpu/se3208
mkdir -p obj//usr/pkgsdl64/emu/cpu/sh2
mkdir -p obj//usr/pkgsdl64/emu/cpu/sh4
mkdir -p obj//usr/pkgsdl64/emu/cpu/sharc
mkdir -p obj//usr/pkgsdl64/emu/cpu/sm8500
mkdir -p obj//usr/pkgsdl64/emu/cpu/spc700
mkdir -p obj//usr/pkgsdl64/emu/cpu/ssem
mkdir -p obj//usr/pkgsdl64/emu/cpu/ssp1601
mkdir -p obj//usr/pkgsdl64/emu/cpu/superfx
mkdir -p obj//usr/pkgsdl64/emu/cpu/t11
mkdir -p obj//usr/pkgsdl64/emu/cpu/tlcs90
mkdir -p obj//usr/pkgsdl64/emu/cpu/tlcs900
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms0980
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms32010
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms32025
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms32031
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms32051
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms34010
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms57002
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms7000
mkdir -p obj//usr/pkgsdl64/emu/cpu/tms9900
mkdir -p obj//usr/pkgsdl64/emu/cpu/unsp
mkdir -p obj//usr/pkgsdl64/emu/cpu/upd7725
mkdir -p obj//usr/pkgsdl64/emu/cpu/upd7810
mkdir -p obj//usr/pkgsdl64/emu/cpu/v30mz
mkdir -p obj//usr/pkgsdl64/emu/cpu/v60
mkdir -p obj//usr/pkgsdl64/emu/cpu/v810
mkdir -p obj//usr/pkgsdl64/emu/cpu/z180
mkdir -p obj//usr/pkgsdl64/emu/cpu/z8
mkdir -p obj//usr/pkgsdl64/emu/cpu/z80
mkdir -p obj//usr/pkgsdl64/emu/cpu/z8000
mkdir -p obj//usr/pkgsdl64/emu/debug
mkdir -p obj//usr/pkgsdl64/emu/debugint
mkdir -p obj//usr/pkgsdl64/emu/drivers
mkdir -p obj//usr/pkgsdl64/emu/imagedev
mkdir -p obj//usr/pkgsdl64/emu/layout
mkdir -p obj//usr/pkgsdl64/emu/machine
mkdir -p obj//usr/pkgsdl64/emu/sound
mkdir -p obj//usr/pkgsdl64/emu/video
mkdir -p obj//usr/pkgsdl64/lib/expat
mkdir -p obj//usr/pkgsdl64/lib/formats
mkdir -p obj//usr/pkgsdl64/lib/lib7z
mkdir -p obj//usr/pkgsdl64/lib/libflac
mkdir -p obj//usr/pkgsdl64/lib/libjpeg
mkdir -p obj//usr/pkgsdl64/lib/lua
mkdir -p obj//usr/pkgsdl64/lib/portmidi
mkdir -p obj//usr/pkgsdl64/lib/softfloat
mkdir -p obj//usr/pkgsdl64/lib/util
mkdir -p obj//usr/pkgsdl64/lib/zlib
mkdir -p obj//usr/pkgsdl64/mame/audio
mkdir -p obj//usr/pkgsdl64/mame/drivers
mkdir -p obj//usr/pkgsdl64/mame/layout
mkdir -p obj//usr/pkgsdl64/mame/machine
mkdir -p obj//usr/pkgsdl64/mame/mame
mkdir -p obj//usr/pkgsdl64/mame/video
mkdir -p obj//usr/pkgsdl64/osd
mkdir -p obj//usr/pkgsdl64/osd/sdl
mkdir -p obj//usr/pkgsdl64/tools
Compiling src/build/file2str.c...
Compiling src/osd/sdl/strconv.c...
Compiling src/osd/sdl/sdldir.c...
Compiling src/osd/sdl/sdlfile.c...
Compiling src/osd/sdl/sdlptty_unix.c...
Compiling src/osd/sdl/sdlsocket.c...
Compiling src/osd/sdl/sdlmisc_unix.c...
Compiling src/osd/sdl/sdlos_unix.c...
Compiling src/osd/sdl/sdlsync_ntc.c...
Compiling src/osd/sdl/sdlwork.c...
Compiling src/build/makedep.c...
Compiling src/lib/util/astring.c...
Compiling src/lib/util/avhuff.c...
Compiling src/lib/util/aviio.c...
Compiling src/lib/util/bitmap.c...
src/lib/util/aviio.c:922:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const INT16 *' (aka 'const short *') increases required alignment from 1 to 2 [-Wcast-align]
                        const INT16 *base = (const INT16 *)(file->tempbuffer + 8);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/util/aviio.c:2397:26: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'const UINT16 *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        const UINT16 *dataend = (const UINT16 *)(data + numbytes);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/util/aviio.c:2403:26: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'const UINT16 *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                const UINT16 *source = (const UINT16 *)data + y * stream->width;
                                       ^~~~~~~~~~~~~~~~~~~~
src/lib/util/aviio.c:2436:26: 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 *dataend = (const UINT16 *)(data + numbytes);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/util/aviio.c:2443: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 *)data + y * stream->width;
                               ^~~~~~~~~~~~~~
Compiling src/lib/util/cdrom.c...
Compiling src/lib/util/chd.c...
Compiling src/lib/util/chdcd.c...
Compiling src/lib/util/chdcodec.c...
5 warnings generated.
Compiling src/lib/util/corefile.c...
Compiling src/lib/util/corestr.c...
Compiling src/lib/util/coreutil.c...
Compiling src/lib/util/flac.c...
Compiling src/lib/util/harddisk.c...
Compiling src/lib/util/hashing.c...
Compiling src/lib/util/huffman.c...
Compiling src/lib/util/jedparse.c...
Compiling src/lib/util/md5.c...
Compiling src/lib/util/opresolv.c...
Compiling src/lib/util/options.c...
Compiling src/lib/util/palette.c...
Compiling src/lib/util/plaparse.c...
Compiling src/lib/util/png.c...
Compiling src/lib/util/pool.c...
src/lib/util/png.c:99:30: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        return BIG_ENDIANIZE_INT32(*(UINT32 *)v);
                                    ^~~~~~~~~~~
src/osd/osdcomm.h:222:55: note: expanded from macro 'BIG_ENDIANIZE_INT32'
#define BIG_ENDIANIZE_INT32(x)      (FLIPENDIAN_INT32(x))
                                                      ^
src/osd/osdcomm.h:206:42: note: expanded from macro 'FLIPENDIAN_INT32'
#define FLIPENDIAN_INT32(x) ((((UINT32) (x)) << 24) | (((UINT32) (x)) >> 24) | \
                                         ^
src/lib/util/png.c:99:30: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        return BIG_ENDIANIZE_INT32(*(UINT32 *)v);
                                    ^~~~~~~~~~~
src/osd/osdcomm.h:222:55: note: expanded from macro 'BIG_ENDIANIZE_INT32'
#define BIG_ENDIANIZE_INT32(x)      (FLIPENDIAN_INT32(x))
                                                      ^
src/osd/osdcomm.h:206:67: note: expanded from macro 'FLIPENDIAN_INT32'
#define FLIPENDIAN_INT32(x) ((((UINT32) (x)) << 24) | (((UINT32) (x)) >> 24) | \
                                                                  ^
src/lib/util/png.c:99:30: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        return BIG_ENDIANIZE_INT32(*(UINT32 *)v);
                                    ^~~~~~~~~~~
src/osd/osdcomm.h:222:55: note: expanded from macro 'BIG_ENDIANIZE_INT32'
#define BIG_ENDIANIZE_INT32(x)      (FLIPENDIAN_INT32(x))
                                                      ^
src/osd/osdcomm.h:207:16: note: expanded from macro 'FLIPENDIAN_INT32'
        (( ((UINT32) (x)) & 0x0000ff00) << 8) | (( ((UINT32) (x)) & 0x00ff0000) >> 8))
                      ^
src/lib/util/png.c:99:30: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        return BIG_ENDIANIZE_INT32(*(UINT32 *)v);
                                    ^~~~~~~~~~~
src/osd/osdcomm.h:222:55: note: expanded from macro 'BIG_ENDIANIZE_INT32'
#define BIG_ENDIANIZE_INT32(x)      (FLIPENDIAN_INT32(x))
                                                      ^
src/osd/osdcomm.h:207:56: note: expanded from macro 'FLIPENDIAN_INT32'
        (( ((UINT32) (x)) & 0x0000ff00) << 8) | (( ((UINT32) (x)) & 0x00ff0000) >> 8))
                                                              ^
src/lib/util/png.c:118:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        *(UINT32 *)v = BIG_ENDIANIZE_INT32(data);
         ^~~~~~~~~~~
Compiling src/lib/util/sha1.c...
Compiling src/lib/util/unicode.c...
Compiling src/lib/util/unzip.c...
5 warnings generated.
Compiling src/lib/util/un7z.c...
Compiling src/lib/util/vbiparse.c...
Compiling src/lib/util/xmlfile.c...
Compiling src/lib/util/zippath.c...
Compiling src/lib/zlib/adler32.c...
Compiling src/lib/zlib/compress.c...
Compiling src/lib/zlib/crc32.c...
Compiling src/lib/zlib/deflate.c...
Compiling src/lib/zlib/inffast.c...
Compiling src/lib/zlib/inflate.c...
Compiling src/lib/zlib/infback.c...
Compiling src/lib/zlib/inftrees.c...
Compiling src/lib/zlib/trees.c...
Compiling src/lib/zlib/uncompr.c...
Compiling src/lib/zlib/zutil.c...
Compiling src/build/makelist.c...
Compiling src/build/png2bdc.c...
Compiling src/build/verinfo.c...
Compiling src/emu/cpu/m68000/m68kmake.c...
Compiling src/mame/mame.c...
Compiling src/mame/drivers/ertictac.c...
Compiling src/mame/drivers/ssfindo.c...
src/mame/drivers/ssfindo.c:500:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *FLASH = (UINT16 *)m_region_user2->base(); //16 bit - WORD access
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/aristmk5.c...
Compiling src/mame/machine/archimds.c...
1 warning generated.
Compiling src/mame/video/archimds.c...
src/mame/machine/archimds.cCompiling src/mame/drivers/albazc.c...
:298:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                rom = (UINT32 *)m_region_maincpu->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/archimds.c:364:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                rom = (UINT32 *)m_region_maincpu->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/albazg.c...
2 warnings generated.
Compiling src/mame/drivers/rmhaihai.c...
Compiling src/mame/drivers/clayshoo.c...
Compiling src/mame/drivers/alpha68k.c...
Compiling src/mame/video/alpha68k.c...
Compiling src/mame/drivers/champbas.c...
Compiling src/mame/video/champbas.c...
Compiling src/mame/drivers/equites.c...
src/mame/drivers/alpha68k.c:3327: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/equites.c...
Compiling src/mame/drivers/meijinsn.c...
Compiling src/mame/drivers/shougi.c...
1 warning generated.
Compiling src/mame/drivers/alg.c...
Compiling src/mame/machine/amiga.c...
Compiling src/mame/audio/amiga.c...
src/mame/machine/amiga.c:486:61: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG(REG_BLTADAT) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BLTAPTH));
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:487:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTAPTH) += 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:493:61: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG(REG_BLTBDAT) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BLTBPTH));
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:494:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTBPTH) += 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:500:61: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG(REG_BLTCDAT) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BLTCPTH));
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:501:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTCPTH) += 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:556:35: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                (*state->m_chip_ram_w)(state, CUSTOM_REG_LONG(REG_BLTDPTH), tempd);
                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:557:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTDPTH) += 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:563:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTAPTH) += CUSTOM_REG_SIGNED(REG_BLTAMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:565:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTBPTH) += CUSTOM_REG_SIGNED(REG_BLTBMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:567:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTCPTH) += CUSTOM_REG_SIGNED(REG_BLTCMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:569:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTDPTH) += CUSTOM_REG_SIGNED(REG_BLTDMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:611:61: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG(REG_BLTADAT) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BLTAPTH));
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:612:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTAPTH) -= 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:618:61: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG(REG_BLTBDAT) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BLTBPTH));
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:619:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTBPTH) -= 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:625:61: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG(REG_BLTCDAT) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BLTCPTH));
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:626:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTCPTH) -= 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:698:35: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                (*state->m_chip_ram_w)(state, CUSTOM_REG_LONG(REG_BLTDPTH), tempd);
                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:699:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTDPTH) -= 2;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:705:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTAPTH) -= CUSTOM_REG_SIGNED(REG_BLTAMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:707:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTBPTH) -= CUSTOM_REG_SIGNED(REG_BLTBMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:709:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTCPTH) -= CUSTOM_REG_SIGNED(REG_BLTCMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:711:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTDPTH) -= CUSTOM_REG_SIGNED(REG_BLTDMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:790:60: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG(REG_BLTCDAT) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BLTCPTH));
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:841:33: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                (*state->m_chip_ram_w)(state, CUSTOM_REG_LONG(REG_BLTDPTH), tempd);
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:859:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTAPTH) += CUSTOM_REG_SIGNED(REG_BLTAMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:870:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTAPTH) += CUSTOM_REG_SIGNED(REG_BLTBMOD) & ~1;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:882:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTCPTH) += 2 * dx;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:883:5: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                CUSTOM_REG_LONG(REG_BLTDPTH) += 2 * dx;
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:891:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTCPTH) += dy * (INT16)(CUSTOM_REG_SIGNED(REG_BLTCMOD) & ~1);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:892:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BLTDPTH) += dy * (INT16)(CUSTOM_REG_SIGNED(REG_BLTCMOD) & ~1);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:927:73: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        logerror("  A: addr=%06X mod=%3d shift=%2d maskl=%04x maskr=%04x\n", CUSTOM_REG_LONG(REG_BLTAPTH), CUSTOM_REG_SIGNED(REG_BLTAMOD), CUSTOM_REG(REG_BLTCON0) >> 12, CUSTOM_REG(REG_BLTAFWM), CUSTOM_REG(REG_BLTALWM));
                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:929:51: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        logerror("  B: addr=%06X mod=%3d shift=%2d\n", CUSTOM_REG_LONG(REG_BLTBPTH), CUSTOM_REG_SIGNED(REG_BLTBMOD), CUSTOM_REG(REG_BLTCON1) >> 12);
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:931:41: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        logerror("  C: addr=%06X mod=%3d\n", CUSTOM_REG_LONG(REG_BLTCPTH), CUSTOM_REG_SIGNED(REG_BLTCMOD));
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:933:41: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        logerror("  D: addr=%06X mod=%3d\n", CUSTOM_REG_LONG(REG_BLTDPTH), CUSTOM_REG_SIGNED(REG_BLTDMOD));
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:1242:40: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        amiga_copper_setpc(space.machine(), CUSTOM_REG_LONG(REG_COP1LCH));
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:1246:40: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        amiga_copper_setpc(space.machine(), CUSTOM_REG_LONG(REG_COP2LCH));
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:1408:40: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        amiga_copper_setpc(space.machine(), CUSTOM_REG_LONG(REG_COP1LCH));
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/amiga.c:1412:40: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        amiga_copper_setpc(space.machine(), CUSTOM_REG_LONG(REG_COP2LCH));
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/amiga.c...
40 warnings generated.
Compiling src/mame/video/amigaaga.c...
Compiling src/mame/drivers/arcadia.c...
src/mame/audio/amiga.c:86:22: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        chan->curlocation = CUSTOM_REG_LONG(REG_AUD0LCH + chan->index * 8);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:374:72: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        CUSTOM_REG(REG_SPR0DATA + 4 * sprite) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:375:72: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        CUSTOM_REG(REG_SPR0DATB + 4 * sprite) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:376:2: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:404:70: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG(REG_SPR0POS + 4 * num) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) + 0);
                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:405:70: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG(REG_SPR0CTL + 4 * num) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) + 2);
                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:406:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:579:66: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        CUSTOM_REG(REG_BPL1DAT + plane) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2));
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:580:2: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:646:31: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                amiga_copper_setpc(machine, CUSTOM_REG_LONG(REG_COP1LCH));
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:972:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + pl * 2) += CUSTOM_REG_SIGNED(REG_BPL1MOD);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amiga.c:976:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + pl * 2) += CUSTOM_REG_SIGNED(REG_BPL2MOD);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/cd32.c...
11 warnings generated.
Compiling src/mame/machine/cd32.c...
src/mame/drivers/arcadia.c:816: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 *)memregion(tag)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/arcadia.c:870:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        biosrom = (UINT16 *)memregion("user2")->base();
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:94:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdata[sprite][0] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:95:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdatb[sprite][0] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:96:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:102:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdata[sprite][0] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:103:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdata[sprite][1] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:104:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:105:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdatb[sprite][0] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:106:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdatb[sprite][1] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:107:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:112:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdata[sprite][0] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:113:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdata[sprite][1] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:114:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:115:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdata[sprite][2] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:116:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdata[sprite][3] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:117:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:118:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdatb[sprite][0] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:119:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdatb[sprite][1] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:120:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:121:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdatb[sprite][2] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 0);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:122:68: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        state->m_aga_sprdatb[sprite][3] = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) + 2);
                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:123:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * sprite) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:160:70: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG(REG_SPR0POS + 4 * num) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) + 0);
                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:161:70: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG(REG_SPR0CTL + 4 * num) = (*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) + 2);
                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:162:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) += 4;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:170:6: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) += 4;
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:173:6: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                        CUSTOM_REG_LONG(REG_SPR0PTH + 2 * num) += 3*4;
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:378:62: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        aga_bpldat[plane] = (UINT64)(*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2));
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:379:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:383:62: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        aga_bpldat[plane] = (UINT64)(*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2)) << 16;
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:384:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:385:64: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        aga_bpldat[plane] |= ((UINT64)(*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2)));
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:386:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:389:62: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        aga_bpldat[plane] = (UINT64)(*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2)) << 48;
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:390:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:391:64: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        aga_bpldat[plane] |= ((UINT64)(*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2))) << 32;
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:392:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:393:64: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        aga_bpldat[plane] |= ((UINT64)(*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2))) << 16;
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:394:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:395:63: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        aga_bpldat[plane] |= (UINT64)(*state->m_chip_ram_r)(state, CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2));
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:396:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + plane * 2) += 2;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:471:31: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                amiga_copper_setpc(machine, CUSTOM_REG_LONG(REG_COP1LCH));
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:832:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + pl * 2) += CUSTOM_REG_SIGNED(REG_BPL1MOD);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/amigaaga.c:836:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        CUSTOM_REG_LONG(REG_BPL1PTH + pl * 2) += CUSTOM_REG_SIGNED(REG_BPL2MOD);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/amiga.h:34:35: note: expanded from macro 'CUSTOM_REG_LONG'
#define CUSTOM_REG_LONG(x)      (*(UINT32 *)&state->m_custom_regs[x])
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 warnings generated.
Compiling src/mame/drivers/mquake.c...
2 warnings generated.
Compiling src/mame/drivers/upscope.c...
Compiling src/mame/drivers/aristmk6.c...
Compiling src/mame/drivers/caswin.c...
Compiling src/mame/drivers/big10.c...
Compiling src/mame/drivers/forte2.c...
Compiling src/mame/drivers/pengadvb.c...
Compiling src/mame/drivers/sangho.c...
Compiling src/mame/drivers/sfkick.c...
Compiling src/mame/drivers/arcadecl.c...
Compiling src/mame/machine/asteroid.c...
Compiling src/mame/video/arcadecl.c...
Compiling src/mame/audio/asteroid.c...
Compiling src/mame/audio/llander.c...
Compiling src/mame/machine/atarifb.c...
Compiling src/mame/audio/atarifb.c...
Compiling src/mame/video/atarifb.c...
Compiling src/mame/drivers/atarig1.c...
Compiling src/mame/video/atarig1.c...
Compiling src/mame/drivers/atarig42.c...
Compiling src/mame/video/atarig42.c...
Compiling src/mame/drivers/atarigt.c...
src/mame/drivers/atarig42.c:820:3: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        *(UINT16 *)&memregion("maincpu")->base()[0x80000] = 0x4E75;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/atarigt.c...
Compiling src/mame/drivers/atarigx2.c...
1 warning generated.
Compiling src/mame/video/atarigx2.c...
Compiling src/mame/drivers/atarisy1.c...
Compiling src/mame/video/atarisy1.c...
Compiling src/mame/drivers/atarisy2.c...
Compiling src/mame/video/atarisy2.c...
Compiling src/mame/drivers/atarisy4.c...
Compiling src/mame/drivers/atetris.c...
Compiling src/mame/video/atetris.c...
Compiling src/mame/audio/avalnche.c...
Compiling src/mame/drivers/badlands.c...
Compiling src/mame/video/badlands.c...
Compiling src/mame/drivers/bartop52.c...
Compiling src/mame/drivers/batman.c...
Compiling src/mame/video/batman.c...
Compiling src/mame/drivers/beathead.c...
Compiling src/mame/video/beathead.c...
Compiling src/mame/drivers/blstroid.c...
Compiling src/mame/video/blstroid.c...
Compiling src/mame/drivers/boxer.c...
Compiling src/mame/drivers/bsktball.c...
Compiling src/mame/machine/bsktball.c...
Compiling src/mame/audio/bsktball.c...
Compiling src/mame/video/bsktball.c...
Compiling src/mame/drivers/bwidow.c...
Compiling src/mame/audio/bwidow.c...
Compiling src/mame/audio/bzone.c...
Compiling src/mame/drivers/canyon.c...
Compiling src/mame/audio/canyon.c...
Compiling src/mame/video/canyon.c...
Compiling src/mame/drivers/cball.c...
Compiling src/mame/drivers/ccastles.c...
Compiling src/mame/video/ccastles.c...
Compiling src/mame/drivers/centiped.c...
Compiling src/mame/video/centiped.c...
Compiling src/mame/drivers/cloak.c...
Compiling src/mame/video/cloak.c...
Compiling src/mame/drivers/cloud9.c...
Compiling src/mame/video/cloud9.c...
Compiling src/mame/drivers/cmmb.c...
Compiling src/mame/audio/copsnrob.c...
Compiling src/mame/video/copsnrob.c...
Compiling src/mame/drivers/cyberbal.c...
Compiling src/mame/audio/cyberbal.c...
Compiling src/mame/video/cyberbal.c...
Compiling src/mame/audio/dragrace.c...
Compiling src/mame/video/dragrace.c...
Compiling src/mame/drivers/eprom.c...
Compiling src/mame/video/eprom.c...
Compiling src/mame/drivers/firefox.c...
Compiling src/mame/audio/firetrk.c...
Compiling src/mame/video/firetrk.c...
Compiling src/mame/drivers/flyball.c...
Compiling src/mame/drivers/foodf.c...
Compiling src/mame/video/foodf.c...
Compiling src/mame/drivers/gauntlet.c...
Compiling src/mame/video/gauntlet.c...
Compiling src/mame/drivers/harddriv.c...
Compiling src/mame/audio/harddriv.c...
Compiling src/mame/machine/harddriv.c...
Compiling src/mame/video/harddriv.c...
src/mame/drivers/harddriv.c:4092:30: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        state->m_ds3_sdata_memory = (UINT16 *)state->memregion("ds3sdsp_data")->base();
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/harddriv.c:4178:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        state->m_dsk_ram = (UINT16 *)(usr3 + 0x40000);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/harddriv.c:4182:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        state->m_dsk_zram = (UINT16 *)(usr3 + 0x50000);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/harddriv.c:4191:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        state->m_dsk_rom = (UINT16 *)(usr3 + 0x00000);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/harddriv.c:4217:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        state->m_dsk_ram = (UINT16 *)(usr3 + 0x100000);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/harddriv.c:4221:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        state->m_dsk_rom = (UINT16 *)(usr3 + 0x000000);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/harddriv.c:59:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_sim_memory = (UINT16 *)memregion("user1")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/harddriv.c:61:27: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_adsp_pgm_memory_word = (UINT16 *)(reinterpret_cast<UINT8 *>(m_adsp_pgm_memory.target()) + 1);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/irobot.c...
2 warnings generated.
Compiling src/mame/machine/irobot.c...
src/mame/video/harddriv.c:278:17: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *dest = (UINT32 *)&state->m_gsp_vram[offset * 16];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/harddriv.c:307:17: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *dest = (UINT32 *)&state->m_gsp_vram[offset * 8];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/video/irobot.c...
6 warnings generated.
Compiling src/mame/drivers/jaguar.c...
src/mame/machine/irobot.c:292:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        d = ((UINT16 *)m_mbRAM)[ad & 0xfff];             /* MB RAM read */
                             ^~~~~~~~~~~~~~~~~
src/mame/machine/irobot.c:294:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        d = ((UINT16 *)m_mbROM)[ad + 0x2000];                /* MB ROM read, CEMATH = 1 */
                             ^~~~~~~~~~~~~~~~~
src/mame/machine/irobot.c:296:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        d = ((UINT16 *)m_mbROM)[ad & 0x1fff];                /* MB ROM read, CEMATH = 0 */
                             ^~~~~~~~~~~~~~~~~
src/mame/machine/irobot.c:306:4: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                ((UINT16 *)m_combase_mb)[m_irmb_latch & 0x7ff] = d;
                 ^~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/irobot.c:314:5: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        ((UINT16 *)m_mbRAM)[ad & 0xfff] = d;             /* MB RAM write */
                         ^~~~~~~~~~~~~~~~~
Compiling src/mame/audio/jaguar.c...
5 warnings generated.
Compiling src/mame/video/jaguar.c...
src/mame/video/irobot.c:215: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 *)m_combase;
                            ^~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/jedi.c...
Compiling src/mame/audio/jedi.c...
In file included from src/mame/video/jaguar.c:864:
src/mame/video/jagobj.c:569:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *src = (UINT32 *)memory_base(data << 3);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagobj.c:727:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        return (UINT32 *)memory_base(link << 3);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagobj.c:747:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *src = (UINT32 *)memory_base(data << 3);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagobj.c:943:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        return (UINT32 *)memory_base(link << 3);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagobj.c:1005:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        return taken ? (UINT32 *)memory_base(link << 3) : (objdata + 2);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagobj.c:1030:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        objdata = (UINT32 *)memory_base((m_gpu_regs[OLP_H] << 16) | m_gpu_regs[OLP_L]);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/jaguar.c:890:
src/mame/video/jagblit.c:345:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^  ~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagblit.c:345:26: note: use '&' for a bitwise operation
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^~
                                &
src/mame/video/jagblit.c:345:26: note: remove constant to silence this warning
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/jaguar.c:900:
src/mame/video/jagblit.c:345:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^  ~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagblit.c:345:26: note: use '&' for a bitwise operation
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^~
                                &
src/mame/video/jagblit.c:345:26: note: remove constant to silence this warning
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/jaguar.c:910:
src/mame/video/jagblit.c:345:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^  ~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagblit.c:345:26: note: use '&' for a bitwise operation
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^~
                                &
src/mame/video/jagblit.c:345:26: note: remove constant to silence this warning
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/jaguar.c:920:
src/mame/video/jagblit.c:345:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^  ~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagblit.c:345:26: note: use '&' for a bitwise operation
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^~
                                &
src/mame/video/jagblit.c:345:26: note: remove constant to silence this warning
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/jaguar.c:930:
src/mame/video/jagblit.c:345:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^  ~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagblit.c:345:26: note: use '&' for a bitwise operation
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^~
                                &
src/mame/video/jagblit.c:345:26: note: remove constant to silence this warning
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/jaguar.c:941:
src/mame/video/jagblit.c:345:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^  ~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagblit.c:345:26: note: use '&' for a bitwise operation
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^~
                                &
src/mame/video/jagblit.c:345:26: note: remove constant to silence this warning
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/jaguar.c:951:
src/mame/video/jagblit.c:345:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^  ~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/jagblit.c:345:26: note: use '&' for a bitwise operation
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                                ^~
                                &
src/mame/video/jagblit.c:345:26: note: remove constant to silence this warning
        if (LOG_UNHANDLED_BLITS && (COMMAND & 0x24003000))
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/jedi.c...
Compiling src/mame/drivers/klax.c...
Compiling src/mame/video/klax.c...
13 warnings generated.
Compiling src/mame/drivers/liberatr.c...
Compiling src/mame/video/liberatr.c...
Compiling src/mame/drivers/mediagx.c...
Compiling src/mame/drivers/metalmx.c...
Compiling src/mame/drivers/mgolf.c...
Compiling src/mame/drivers/mhavoc.c...
Compiling src/mame/machine/mhavoc.c...
Compiling src/mame/drivers/missile.c...
Compiling src/mame/drivers/nitedrvr.c...
Compiling src/mame/machine/nitedrvr.c...
Compiling src/mame/audio/nitedrvr.c...
Compiling src/mame/video/nitedrvr.c...
Compiling src/mame/drivers/offtwall.c...
Compiling src/mame/video/offtwall.c...
Compiling src/mame/drivers/orbit.c...
Compiling src/mame/audio/orbit.c...
Compiling src/mame/video/orbit.c...
Compiling src/mame/drivers/pong.c...
Compiling src/mame/drivers/poolshrk.c...
Compiling src/mame/audio/poolshrk.c...
Compiling src/mame/video/poolshrk.c...
Compiling src/mame/drivers/quantum.c...
Compiling src/mame/drivers/rampart.c...
Compiling src/mame/video/rampart.c...
Compiling src/mame/drivers/relief.c...
Compiling src/mame/video/relief.c...
Compiling src/mame/drivers/runaway.c...
Compiling src/mame/video/runaway.c...
Compiling src/mame/drivers/shuuz.c...
Compiling src/mame/video/shuuz.c...
Compiling src/mame/drivers/skullxbo.c...
Compiling src/mame/video/skullxbo.c...
Compiling src/mame/audio/skydiver.c...
Compiling src/mame/video/skydiver.c...
Compiling src/mame/drivers/skyraid.c...
Compiling src/mame/audio/skyraid.c...
Compiling src/mame/video/skyraid.c...
Compiling src/mame/drivers/sprint2.c...
Compiling src/mame/audio/sprint2.c...
Compiling src/mame/video/sprint2.c...
Compiling src/mame/drivers/sprint4.c...
Compiling src/mame/video/sprint4.c...
Compiling src/mame/audio/sprint4.c...
Compiling src/mame/drivers/sprint8.c...
Compiling src/mame/audio/sprint8.c...
Compiling src/mame/video/sprint8.c...
Compiling src/mame/drivers/starshp1.c...
Compiling src/mame/audio/starshp1.c...
Compiling src/mame/video/starshp1.c...
Compiling src/mame/drivers/starwars.c...
Compiling src/mame/machine/starwars.c...
Compiling src/mame/audio/starwars.c...
Compiling src/mame/drivers/subs.c...
Compiling src/mame/machine/subs.c...
Compiling src/mame/audio/subs.c...
Compiling src/mame/video/subs.c...
Compiling src/mame/drivers/tank8.c...
Compiling src/mame/audio/tank8.c...
Compiling src/mame/video/tank8.c...
Compiling src/mame/drivers/tempest.c...
Compiling src/mame/drivers/thunderj.c...
Compiling src/mame/video/thunderj.c...
Compiling src/mame/drivers/tomcat.c...
Compiling src/mame/drivers/toobin.c...
Compiling src/mame/video/toobin.c...
Compiling src/mame/drivers/tourtabl.c...
Compiling src/mame/video/tia.c...
Compiling src/mame/drivers/triplhnt.c...
Compiling src/mame/audio/triplhnt.c...
Compiling src/mame/video/triplhnt.c...
Compiling src/mame/drivers/tunhunt.c...
Compiling src/mame/video/tunhunt.c...
Compiling src/mame/drivers/ultratnk.c...
Compiling src/mame/video/ultratnk.c...
Compiling src/mame/audio/videopin.c...
Compiling src/mame/video/videopin.c...
Compiling src/mame/drivers/vindictr.c...
Compiling src/mame/video/vindictr.c...
Compiling src/mame/drivers/wolfpack.c...
Compiling src/mame/video/wolfpack.c...
Compiling src/mame/drivers/xybots.c...
Compiling src/mame/video/xybots.c...
Compiling src/mame/machine/asic65.c...
Compiling src/mame/machine/atari_vg.c...
Compiling src/mame/machine/atarigen.c...
Compiling src/mame/machine/mathbox.c...
Compiling src/mame/machine/slapstic.c...
Compiling src/mame/audio/atarijsa.c...
Compiling src/mame/audio/cage.c...
Compiling src/mame/audio/redbaron.c...
Compiling src/mame/video/atarimo.c...
Compiling src/mame/video/atarirle.c...
Compiling src/mame/drivers/blmbycar.c...
Compiling src/mame/video/blmbycar.c...
Compiling src/mame/drivers/ohmygod.c...
src/mame/video/atarirle.c:272:23: 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 *base = (const UINT16 *)machine.root_device().memregion(desc->region)->base();
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/atarirle.c:540:16: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        UINT32 *ram = (UINT32 *)mo->ram;
                      ^~~~~~~~~~~~~~~~~
src/mame/video/atarirle.c:554:16: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        UINT32 *ram = (UINT32 *)mo->ram;
                      ^~~~~~~~~~~~~~~~~
src/mame/video/atarirle.c:766:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                UINT32 *ram = (UINT32 *)mo->ram;
                              ^~~~~~~~~~~~~~~~~
4 warnings generated.
Compiling src/mame/video/ohmygod.c...
Compiling src/mame/drivers/powerins.c...
src/mame/drivers/blmbycar.c:511:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *RAM  = (UINT16 *) memregion("maincpu")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/powerins.c...
1 warning generated.
Compiling src/mame/drivers/bowltry.c...
Compiling src/mame/drivers/mpu2.c...
Compiling src/mame/drivers/mpu4sw.c...
Compiling src/mame/drivers/mpu4.c...
Compiling src/mame/drivers/mpu4dealem.c...
Compiling src/mame/drivers/mpu4union.c...
Compiling src/mame/drivers/mpu4avan.c...
Compiling src/mame/drivers/mpu4concept.c...
Compiling src/mame/drivers/mpu4empire.c...
Compiling src/mame/drivers/mpu4mdm.c...
Compiling src/mame/drivers/mpu4crystal.c...
Compiling src/mame/drivers/mpu4bwb.c...
Compiling src/mame/drivers/mpu4misc.c...
Compiling src/mame/video/scn2674.c...
Compiling src/mame/drivers/mpu5hw.c...
Compiling src/mame/drivers/mpu5.c...
Compiling src/mame/video/awpvid.c...
src/mame/drivers/mpu5hw.c:120:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_cpuregion = (UINT32*)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/machine/meters.c...
Compiling src/mame/machine/steppers.c...
Compiling src/mame/drivers/bfcobra.c...
Compiling src/mame/machine/bfm_comn.c...
Compiling src/mame/video/bfm_adr2.c...
Compiling src/mame/drivers/bfm_sc5sw.c...
Compiling src/mame/drivers/bfm_ad5.c...
Compiling src/mame/drivers/bfm_ad5sw.c...
Compiling src/mame/drivers/bfm_swp.c...
Compiling src/mame/drivers/bfmsys83.c...
Compiling src/mame/machine/sec.c...
Compiling src/mame/machine/bfm_bd1.c...
src/mame/drivers/bfm_swp.c:198:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_cpuregion = (UINT32*)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/machine/bfm_bda.c...
Compiling src/mame/video/bfm_dm01.c...
Compiling src/mame/drivers/rastersp.c...
Compiling src/mame/drivers/bmcbowl.c...
Compiling src/mame/drivers/koftball.c...
Compiling src/mame/drivers/popobear.c...
Compiling src/mame/drivers/bmcpokr.c...
Compiling src/mame/drivers/1942.c...
Compiling src/mame/video/1942.c...
Compiling src/mame/drivers/1943.c...
Compiling src/mame/video/1943.c...
Compiling src/mame/drivers/alien.c...
Compiling src/mame/drivers/bionicc.c...
Compiling src/mame/video/bionicc.c...
Compiling src/mame/drivers/blktiger.c...
Compiling src/mame/video/blktiger.c...
Compiling src/mame/drivers/cbasebal.c...
Compiling src/mame/video/cbasebal.c...
Compiling src/mame/drivers/commando.c...
Compiling src/mame/video/commando.c...
Compiling src/mame/drivers/cps1.c...
Compiling src/mame/video/cps1.c...
Compiling src/mame/drivers/cps2.c...
Compiling src/mame/drivers/cps3.c...
src/mame/drivers/cps3.c:664:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *coderegion = (UINT32*)memregion("user1")->base();
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps3.c:666:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_decrypted_bios = (UINT32*)memregion("user1")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps3.c:1430:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32* romdata = (UINT32*)m_user5region;
                                  ^~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps3.c:1537:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32* romdata =  (UINT32*)m_user4region;
                                   ^~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps3.c:1762:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                                UINT16* src = (UINT16*)m_user5region;
                                              ^~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps3.c:2264:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32* romdata = (UINT32*)m_user4region;
                          ^~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps3.c:2301:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                romdata = (UINT32*)m_user5region;
                          ^~~~~~~~~~~~~~~~~~~~~~
src/mame/video/cps1.c:1770:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT64 *' (aka 'unsigned long long *') increases required alignment from 1 to 8 [-Wcast-align]
                unshuffle((UINT64 *)(memregion("gfx")->base() + i), banksize / 8);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/audio/cps3.c...
7 warnings generated.
Compiling src/mame/drivers/egghunt.c...
src/mame/drivers/cps2.c:8337: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 *)memregion("gfx")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps2.c:8352: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cps1.c:10895: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/exedexes.c...
2 warnings generated.
Compiling src/mame/video/exedexes.c...
Compiling src/mame/drivers/fcrash.c...
Compiling src/mame/drivers/gng.c...
Compiling src/mame/video/gng.c...
Compiling src/mame/drivers/gunsmoke.c...
src/mame/drivers/fcrash.c:2380: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/fcrash.c:2393: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/fcrash.c:2466: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/gunsmoke.c...
Compiling src/mame/drivers/higemaru.c...
Compiling src/mame/video/higemaru.c...
Compiling src/mame/drivers/lastduel.c...
3 warnings generated.
Compiling src/mame/video/lastduel.c...
Compiling src/mame/drivers/lwings.c...
Compiling src/mame/video/lwings.c...
Compiling src/mame/drivers/mitchell.c...
Compiling src/mame/video/mitchell.c...
Compiling src/mame/drivers/sf.c...
Compiling src/mame/video/sf.c...
Compiling src/mame/drivers/sidearms.c...
Compiling src/mame/video/sidearms.c...
Compiling src/mame/drivers/sonson.c...
Compiling src/mame/video/sonson.c...
Compiling src/mame/drivers/srumbler.c...
Compiling src/mame/video/srumbler.c...
Compiling src/mame/drivers/tigeroad.c...
Compiling src/mame/video/tigeroad.c...
Compiling src/mame/drivers/vulgus.c...
Compiling src/mame/video/vulgus.c...
Compiling src/mame/machine/cps2crpt.c...
Compiling src/mame/machine/kabuki.c...
Compiling src/mame/drivers/ataxx.c...
src/mame/machine/cps2crpt.c:636: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 *)machine.root_device().memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/audio/cinemat.c...
1 warning generated.
Compiling src/mame/video/cinemat.c...
Compiling src/mame/drivers/cchasm.c...
Compiling src/mame/machine/cchasm.c...
Compiling src/mame/audio/cchasm.c...
Compiling src/mame/video/cchasm.c...
Compiling src/mame/drivers/dlair2.c...
Compiling src/mame/drivers/embargo.c...
Compiling src/mame/drivers/jack.c...
Compiling src/mame/video/jack.c...
Compiling src/mame/drivers/leland.c...
Compiling src/mame/machine/leland.c...
Compiling src/mame/video/leland.c...
Compiling src/mame/audio/leland.c...
Compiling src/mame/drivers/funybubl.c...
Compiling src/mame/video/funybubl.c...
Compiling src/mame/drivers/galspnbl.c...
Compiling src/mame/video/galspnbl.c...
Compiling src/mame/drivers/pushman.c...
Compiling src/mame/video/pushman.c...
Compiling src/mame/drivers/zerozone.c...
Compiling src/mame/video/zerozone.c...
Compiling src/mame/drivers/cvs.c...
Compiling src/mame/video/cvs.c...
Compiling src/mame/drivers/galaxia.c...
Compiling src/mame/video/galaxia.c...
Compiling src/mame/drivers/quasar.c...
Compiling src/mame/video/quasar.c...
Compiling src/mame/drivers/actfancr.c...
Compiling src/mame/video/actfancr.c...
Compiling src/mame/drivers/astrof.c...
Compiling src/mame/audio/astrof.c...
Compiling src/mame/drivers/backfire.c...
Compiling src/mame/drivers/battlera.c...
Compiling src/mame/video/battlera.c...
Compiling src/mame/drivers/boogwing.c...
Compiling src/mame/video/boogwing.c...
Compiling src/mame/drivers/brkthru.c...
Compiling src/mame/video/brkthru.c...
Compiling src/mame/drivers/btime.c...
Compiling src/mame/machine/btime.c...
Compiling src/mame/video/btime.c...
Compiling src/mame/drivers/bwing.c...
Compiling src/mame/video/bwing.c...
Compiling src/mame/drivers/cbuster.c...
Compiling src/mame/video/cbuster.c...
Compiling src/mame/drivers/chanbara.c...
Compiling src/mame/drivers/cninja.c...
Compiling src/mame/video/cninja.c...
Compiling src/mame/drivers/cntsteer.c...
Compiling src/mame/drivers/compgolf.c...
Compiling src/mame/video/compgolf.c...
Compiling src/mame/drivers/darkseal.c...
Compiling src/mame/video/darkseal.c...
Compiling src/mame/drivers/dassault.c...
Compiling src/mame/video/dassault.c...
Compiling src/mame/drivers/dblewing.c...
Compiling src/mame/drivers/dec0.c...
Compiling src/mame/machine/dec0.c...
Compiling src/mame/video/dec0.c...
Compiling src/mame/drivers/dec8.c...
Compiling src/mame/video/dec8.c...
Compiling src/mame/machine/deco222.c...
Compiling src/mame/machine/decocpu7.c...
Compiling src/mame/machine/decocpu6.c...
Compiling src/mame/drivers/deco_ld.c...
Compiling src/mame/drivers/deco_mlc.c...
Compiling src/mame/video/deco_mlc.c...
Compiling src/mame/drivers/deco156.c...
Compiling src/mame/machine/deco156.c...
Compiling src/mame/drivers/deco32.c...
Compiling src/mame/video/deco32.c...
Compiling src/mame/video/dvi.c...
src/mame/machine/deco156.c:127: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 *)machine.root_device().memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/audio/decobsmt.c...
src/mame/drivers/deco32.c:3238: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/decocass.c...
Compiling src/mame/machine/decocass.c...
Compiling src/mame/machine/decocass_tape.c...
1 warning generated.
Compiling src/mame/video/decocass.c...
Compiling src/mame/drivers/deshoros.c...
Compiling src/mame/drivers/dietgo.c...
Compiling src/mame/video/dietgo.c...
Compiling src/mame/drivers/dreambal.c...
Compiling src/mame/drivers/exprraid.c...
Compiling src/mame/video/exprraid.c...
Compiling src/mame/drivers/firetrap.c...
Compiling src/mame/video/firetrap.c...
Compiling src/mame/drivers/funkyjet.c...
Compiling src/mame/video/funkyjet.c...
Compiling src/mame/drivers/karnov.c...
Compiling src/mame/video/karnov.c...
src/mame/drivers/karnov.c:1164: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/karnov.c:1174: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/karnov.c:1184: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/kchamp.c...
3 warnings generated.
Compiling src/mame/video/kchamp.c...
Compiling src/mame/drivers/kingobox.c...
Compiling src/mame/video/kingobox.c...
Compiling src/mame/drivers/lemmings.c...
Compiling src/mame/video/lemmings.c...
Compiling src/mame/drivers/liberate.c...
Compiling src/mame/video/liberate.c...
Compiling src/mame/drivers/madalien.c...
Compiling src/mame/audio/madalien.c...
Compiling src/mame/video/madalien.c...
Compiling src/mame/drivers/madmotor.c...
Compiling src/mame/video/madmotor.c...
Compiling src/mame/drivers/metlclsh.c...
Compiling src/mame/video/metlclsh.c...
Compiling src/mame/drivers/mirage.c...
Compiling src/mame/drivers/pcktgal.c...
Compiling src/mame/video/pcktgal.c...
Compiling src/mame/drivers/pktgaldx.c...
Compiling src/mame/video/pktgaldx.c...
Compiling src/mame/drivers/progolf.c...
Compiling src/mame/drivers/rohga.c...
Compiling src/mame/video/rohga.c...
Compiling src/mame/drivers/shootout.c...
Compiling src/mame/video/shootout.c...
Compiling src/mame/drivers/sidepckt.c...
Compiling src/mame/drivers/simpl156.c...
Compiling src/mame/video/sidepckt.c...
Compiling src/mame/video/simpl156.c...
Compiling src/mame/drivers/sshangha.c...
Compiling src/mame/video/sshangha.c...
Compiling src/mame/drivers/stadhero.c...
Compiling src/mame/video/stadhero.c...
Compiling src/mame/drivers/supbtime.c...
Compiling src/mame/video/supbtime.c...
Compiling src/mame/drivers/tryout.c...
Compiling src/mame/video/tryout.c...
Compiling src/mame/drivers/tumbleb.c...
Compiling src/mame/video/tumbleb.c...
Compiling src/mame/drivers/tumblep.c...
Compiling src/mame/video/tumblep.c...
Compiling src/mame/drivers/vaportra.c...
src/mame/drivers/tumbleb.c:2115: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*)memregion("user1")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tumbleb.c:3296: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*)memregion("user1")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tumbleb.c:3310: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tumbleb.c:3328: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 *)memregion("tilegfx")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/vaportra.c...
Compiling src/mame/machine/deco102.c...
4 warnings generated.
Compiling src/mame/machine/decocrpt.c...
Compiling src/mame/machine/decoprot.c...
Compiling src/mame/video/decbac06.c...
src/mame/machine/deco102.c:54: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 *)machine.root_device().memregion(cputag)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/deco16ic.c...
src/mame/machine/decocrpt.c:603: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 *)machine.root_device().memregion(rgntag)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/decocomn.c...
Compiling src/mame/video/decospr.c...
Compiling src/mame/video/decmxc06.c...
Compiling src/mame/video/deckarn.c...
Compiling src/mame/drivers/blackt96.c...
Compiling src/mame/drivers/pokechmp.c...
Compiling src/mame/video/pokechmp.c...
Compiling src/mame/drivers/dooyong.c...
Compiling src/mame/video/dooyong.c...
Compiling src/mame/drivers/gundealr.c...
Compiling src/mame/video/gundealr.c...
Compiling src/mame/drivers/ddenlovr.c...
Compiling src/mame/drivers/dynax.c...
Compiling src/mame/video/dynax.c...
Compiling src/mame/drivers/hnayayoi.c...
Compiling src/mame/video/hnayayoi.c...
Compiling src/mame/drivers/realbrk.c...
Compiling src/mame/video/realbrk.c...
Compiling src/mame/drivers/royalmah.c...
Compiling src/mame/drivers/diverboy.c...
Compiling src/mame/drivers/fantland.c...
Compiling src/mame/video/fantland.c...
Compiling src/mame/drivers/mwarr.c...
Compiling src/mame/drivers/mugsmash.c...
Compiling src/mame/video/mugsmash.c...
Compiling src/mame/drivers/ppmast93.c...
Compiling src/mame/drivers/pzletime.c...
Compiling src/mame/drivers/stlforce.c...
Compiling src/mame/video/stlforce.c...
Compiling src/mame/drivers/twins.c...
Compiling src/mame/drivers/eolith.c...
Compiling src/mame/video/eolith.c...
Compiling src/mame/drivers/eolith16.c...
src/mame/drivers/eolith.c:1498:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *rombase = (UINT32*)memregion("maincpu")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/eolith.c:1509:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *rombase = (UINT32*)memregion("maincpu")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/drivers/eolithsp.c...
Compiling src/mame/drivers/ghosteo.c...
Compiling src/mame/drivers/vegaeo.c...
Compiling src/mame/drivers/aquarium.c...
Compiling src/mame/video/aquarium.c...
Compiling src/mame/drivers/d9final.c...
Compiling src/mame/drivers/dblcrown.c...
Compiling src/mame/drivers/gcpinbal.c...
Compiling src/mame/video/gcpinbal.c...
Compiling src/mame/drivers/lastbank.c...
Compiling src/mame/drivers/carpolo.c...
Compiling src/mame/machine/carpolo.c...
Compiling src/mame/video/carpolo.c...
Compiling src/mame/audio/circus.c...
Compiling src/mame/video/circus.c...
Compiling src/mame/drivers/exidy.c...
Compiling src/mame/audio/exidy.c...
Compiling src/mame/video/exidy.c...
Compiling src/mame/drivers/exidy440.c...
Compiling src/mame/audio/exidy440.c...
Compiling src/mame/video/exidy440.c...
src/mame/audio/exidy440.c:202:23: warning: cast from 'unsigned char *' to 'sound_cache_entry *' increases required alignment from 1 to 8 [-Wcast-align]
        state->sound_cache = (sound_cache_entry *)auto_alloc_array(machine, UINT8, length);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/exidy440.c:205:27: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'sound_cache_entry *' increases required alignment from 1 to 8 [-Wcast-align]
        state->sound_cache_max = (sound_cache_entry *)((UINT8 *)state->sound_cache + length);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/exidy440.c:691:27: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'sound_cache_entry *' increases required alignment from 1 to 8 [-Wcast-align]
        state->sound_cache_end = (sound_cache_entry *)((UINT8 *)current + sizeof(sound_cache_entry) + length * 16);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/atari.c...
3 warnings generated.
Compiling src/mame/video/antic.c...
Compiling src/mame/video/gtia.c...
Compiling src/mame/video/atari.c...
Compiling src/mame/drivers/starfire.c...
src/mame/video/gtia.c:1079:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG1(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:390:16: note: expanded from macro 'PREPARE_GFXG1'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1085:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG1(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:390:16: note: expanded from macro 'PREPARE_GFXG1'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1091:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG1(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:390:16: note: expanded from macro 'PREPARE_GFXG1'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1103:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG2(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:396:16: note: expanded from macro 'PREPARE_GFXG2'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1109:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG2(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:396:16: note: expanded from macro 'PREPARE_GFXG2'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1115:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG2(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:396:16: note: expanded from macro 'PREPARE_GFXG2'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1127:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG3(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:402:16: note: expanded from macro 'PREPARE_GFXG3'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1133:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG3(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:402:16: note: expanded from macro 'PREPARE_GFXG3'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/gtia.c:1139:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXG3(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:402:16: note: expanded from macro 'PREPARE_GFXG3'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:243:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE();
        ^~~~~~~~~
src/mame/includes/atari.h:273:16: note: expanded from macro 'PREPARE'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET]
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:260:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT2(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:276:16: note: expanded from macro 'PREPARE_TXT2'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:266:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT2(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:276:16: note: expanded from macro 'PREPARE_TXT2'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:272:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT2(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:276:16: note: expanded from macro 'PREPARE_TXT2'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:284:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT3(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:294:16: note: expanded from macro 'PREPARE_TXT3'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:290:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT3(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:294:16: note: expanded from macro 'PREPARE_TXT3'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:296:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT3(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:294:16: note: expanded from macro 'PREPARE_TXT3'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:308:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT45(space, 32,0);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:339:16: note: expanded from macro 'PREPARE_TXT45'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:314:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT45(space, 40,0);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:339:16: note: expanded from macro 'PREPARE_TXT45'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/starfire.c...
src/mame/video/antic.c:320:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT45(space, 48,0);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:339:16: note: expanded from macro 'PREPARE_TXT45'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:332:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT45(space, 32,1);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:339:16: note: expanded from macro 'PREPARE_TXT45'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:338:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT45(space, 40,1);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:339:16: note: expanded from macro 'PREPARE_TXT45'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:344:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT45(space, 48,1);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:339:16: note: expanded from macro 'PREPARE_TXT45'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:356:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT67(space, 16,0);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:350:16: note: expanded from macro 'PREPARE_TXT67'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:362:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT67(space, 20,0);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:350:16: note: expanded from macro 'PREPARE_TXT67'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:368:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT67(space, 24,0);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:350:16: note: expanded from macro 'PREPARE_TXT67'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:380:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT67(space, 16,1);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:350:16: note: expanded from macro 'PREPARE_TXT67'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:386:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT67(space, 20,1);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:350:16: note: expanded from macro 'PREPARE_TXT67'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:392:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_TXT67(space, 24,1);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:350:16: note: expanded from macro 'PREPARE_TXT67'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:404:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX8(space, 8);
        ^~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:360:16: note: expanded from macro 'PREPARE_GFX8'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:410:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX8(space, 10);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:360:16: note: expanded from macro 'PREPARE_GFX8'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:416:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX8(space, 12);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:360:16: note: expanded from macro 'PREPARE_GFX8'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:428:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 16);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:434:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 20);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:440:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 24);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:452:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXA(space, 16);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:372:16: note: expanded from macro 'PREPARE_GFXA'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:458:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXA(space, 20);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:372:16: note: expanded from macro 'PREPARE_GFXA'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
src/mame/video/antic.c:464:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXA(space, 24);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:372:16: note: expanded from macro 'PREPARE_GFXA'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:476:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 16);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:482:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 20);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:488:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 24);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/vertigo.c...
src/mame/video/antic.c:500:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 16);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:506:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 20);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:512:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFX9BC(space, 24);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:366:16: note: expanded from macro 'PREPARE_GFX9BC'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:524:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXDE(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:378:16: note: expanded from macro 'PREPARE_GFXDE'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:530:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXDE(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:378:16: note: expanded from macro 'PREPARE_GFXDE'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:536:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXDE(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:378:16: note: expanded from macro 'PREPARE_GFXDE'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:548:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXDE(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:378:16: note: expanded from macro 'PREPARE_GFXDE'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:554:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXDE(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:378:16: note: expanded from macro 'PREPARE_GFXDE'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:560:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXDE(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:378:16: note: expanded from macro 'PREPARE_GFXDE'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:572:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXF(space, 32);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:384:16: note: expanded from macro 'PREPARE_GFXF'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:578:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXF(space, 40);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:384:16: note: expanded from macro 'PREPARE_GFXF'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/antic.c:584:2: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        PREPARE_GFXF(space, 48);
        ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/includes/atari.h:384:16: note: expanded from macro 'PREPARE_GFXF'
        UINT32 *dst = (UINT32 *)&antic.cclock[PMOFFSET];            \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/vertigo.c...
43 warnings generated.
Compiling src/mame/video/vertigo.c...
Compiling src/mame/drivers/victory.c...
Compiling src/mame/video/victory.c...
Compiling src/mame/audio/targ.c...
src/mame/video/vertigo.c:160:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_vectorrom = (UINT16 *)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/vertigo.c:161:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT64 *' (aka 'unsigned long long *') increases required alignment from 1 to 8 [-Wcast-align]
        mcode = (UINT64 *)memregion("proms")->base();
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/drivers/crospang.c...
Compiling src/mame/video/crospang.c...
Compiling src/mame/drivers/f-32.c...
Compiling src/mame/drivers/silvmil.c...
Compiling src/mame/drivers/4roses.c...
Compiling src/mame/video/funworld.c...
Compiling src/mame/video/snookr10.c...
Compiling src/mame/drivers/fuukifg2.c...
Compiling src/mame/video/fuukifg2.c...
Compiling src/mame/drivers/fuukifg3.c...
Compiling src/mame/video/fuukifg3.c...
Compiling src/mame/drivers/atvtrack.c...
Compiling src/mame/drivers/gaelco.c...
Compiling src/mame/video/gaelco.c...
Compiling src/mame/machine/gaelcrpt.c...
Compiling src/mame/drivers/gaelco2.c...
Compiling src/mame/machine/gaelco2.c...
Compiling src/mame/video/gaelco2.c...
Compiling src/mame/drivers/gaelco3d.c...
Compiling src/mame/video/gaelco3d.c...
Compiling src/mame/machine/gaelco3d.c...
Compiling src/mame/drivers/glass.c...
src/mame/drivers/gaelco3d.c:207:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        src = (UINT16 *)memregion("user1")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/glass.c...
In file included from src/mame/video/gaelco3d.c:12:
In file included from src/emu/video/rgbutil.h:18:
src/emu/video/rgbsse.h:268:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color1 = _mm_madd_epi16(*color1, *(__m128i *)&rgbsse_statics.scale_table[color1scale][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:298:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:308:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:346:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:347:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:351:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:387:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:388:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:392:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/mastboy.c...
9 warnings generated.
Compiling src/mame/drivers/splash.c...
src/mame/drivers/splash.c:1011: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/splash.c:1040: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/splash.c:1079:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        ROM = (UINT16 *)memregion("audiocpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/splash.c...
3 warnings generated.
Compiling src/mame/drivers/targeth.c...
Compiling src/mame/video/targeth.c...
Compiling src/mame/drivers/thoop2.c...
Compiling src/mame/video/thoop2.c...
Compiling src/mame/drivers/tokyocop.c...
Compiling src/mame/drivers/wrally.c...
Compiling src/mame/machine/wrally.c...
Compiling src/mame/video/wrally.c...
Compiling src/mame/drivers/xorworld.c...
Compiling src/mame/video/xorworld.c...
src/mame/drivers/xorworld.c:221: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 *)(memregion("maincpu")->base() + 0x1390);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/enigma2.c...
1 warning generated.
Compiling src/mame/drivers/gameplan.c...
Compiling src/mame/video/gameplan.c...
Compiling src/mame/drivers/toratora.c...
Compiling src/mame/video/gatron.c...
Compiling src/mame/drivers/gotya.c...
Compiling src/mame/audio/gotya.c...
Compiling src/mame/video/gotya.c...
Compiling src/mame/drivers/sbugger.c...
Compiling src/mame/video/sbugger.c...
Compiling src/mame/drivers/exterm.c...
Compiling src/mame/video/exterm.c...
Compiling src/mame/drivers/gottlieb.c...
Compiling src/mame/audio/gottlieb.c...
Compiling src/mame/video/gottlieb.c...
Compiling src/mame/drivers/calchase.c...
Compiling src/mame/drivers/fruitpc.c...
Compiling src/mame/drivers/pangofun.c...
Compiling src/mame/drivers/pcat_dyn.c...
Compiling src/mame/drivers/pcat_nit.c...
Compiling src/mame/drivers/pcxt.c...
Compiling src/mame/drivers/quakeat.c...
Compiling src/mame/drivers/queen.c...
Compiling src/mame/drivers/igspc.c...
Compiling src/mame/drivers/cabaret.c...
Compiling src/mame/drivers/ddz.c...
Compiling src/mame/drivers/dunhuang.c...
Compiling src/mame/video/goldstar.c...
Compiling src/mame/drivers/jackie.c...
Compiling src/mame/drivers/igs009.c...
Compiling src/mame/drivers/igs011.c...
Compiling src/mame/drivers/igs017.c...
Compiling src/mame/drivers/igs_m027.c...
Compiling src/mame/drivers/igs_m036.c...
src/mame/drivers/igs011.c:606: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:630: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:655: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:683: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:716: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:746: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:778: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:816: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:850: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:900: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 *) memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:2227: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 *) memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs011.c:2276: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 *) memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs_m027.c:848:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *temp16 = (UINT16 *)memregion("maincpu")->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/iqblock.c...
src/mame/drivers/igs017.c:599: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:686: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:712: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:829: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:886: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:921: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:933: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:988: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:1082: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:1146: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/igs017.c:1175: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 *) (memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/iqblock.c...
12 warnings generated.
Compiling src/mame/drivers/lordgun.c...
Compiling src/mame/video/lordgun.c...
Compiling src/mame/drivers/pgm.c...
11 warnings generated.
Compiling src/mame/video/pgm.c...
src/mame/drivers/lordgun.c:1049: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/pgm2.c...
Compiling src/mame/drivers/spoker.c...
1 warning generated.
Compiling src/mame/machine/pgmcrypt.c...
src/mame/drivers/pgm2.c:394: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 *)memregion("spritesa")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/pgm2.c:402: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 *)memregion("spritesa")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/pgm2.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 *)memregion("spritesa")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/pgm2.c:420: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 *)memregion("spritesa")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
Compiling src/mame/machine/pgmprot.c...
Compiling src/mame/machine/pgmprot1.c...
src/mame/machine/pgmcrypt.c:88: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 *) (machine.root_device().memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:134: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 *) (machine.root_device().memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:179: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 *) (machine.root_device().memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:223: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 *) (machine.root_device().memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:265: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:310: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:355: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:399: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:443: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:487: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 *) (machine.root_device().memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:531: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:576:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align]
        unsigned short *src = (unsigned short *)(machine.root_device().memregion("maincpu")->base()+0x100000);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:621:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align]
        unsigned short *src = (unsigned short *)(machine.root_device().memregion("maincpu")->base()+0x100000);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:666: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:692: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:734: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 *)(machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:780: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 *) (machine.root_device().memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:826: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 *) (machine.root_device().memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:872: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 *) (machine.root_device().memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:919: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 *) (machine.root_device().memregion("user1")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:966: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1012: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1057: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1102: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1146: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1190: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1234: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1278: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1322: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1366: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1411: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 *) machine.root_device().memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmcrypt.c:1458: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 *) (machine.root_device().memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/pgmprot2.c...
32 warnings generated.
Compiling src/mame/machine/pgmprot3.c...
src/mame/machine/pgmprot1.c:363: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 *)(memregion("tiles")->base() + 0x180000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot1.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 *)(memregion("maincpu")->base() + 0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot1.c:428: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 *)(memregion("maincpu")->base() + 0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/pgmprot4.c...
3 warnings generated.
Compiling src/mame/machine/pgmprot5.c...
src/mame/machine/pgmprot4.c:38: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 *) (memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot4.c:58: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 *) (memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot4.c:345:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *PROTROM = (UINT16*)memregion("igs022data")->base();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot4.c:384:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *PROTROM = (UINT16*)memregion("igs022data")->base();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot4.c:396:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *PROTROM = (UINT16*)memregion("igs022data")->base();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot4.c:429: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*)memregion("igs022data")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/pgmprot6.c...
src/mame/machine/pgmprot3.c:182:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *temp16 = (UINT16 *)memregion("prot")->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
Compiling src/mame/drivers/m10.c...
src/mame/machine/pgmprot5.c:26: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 *) (memregion("maincpu")->base()+0x100000);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot5.c:270: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot5.c:286: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot5.c:302: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/pgmprot5.c:318: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/m10.c...
5 warnings generated.
Compiling src/mame/drivers/m14.c...
src/mame/machine/pgmprot6.c:184: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*)memregion("user1")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/m52.c...
Compiling src/mame/video/m52.c...
1 warning generated.
Compiling src/mame/drivers/m57.c...
Compiling src/mame/video/m57.c...
Compiling src/mame/drivers/m58.c...
Compiling src/mame/video/m58.c...
Compiling src/mame/drivers/m62.c...
Compiling src/mame/video/m62.c...
Compiling src/mame/drivers/m63.c...
Compiling src/mame/drivers/m72.c...
Compiling src/mame/audio/m72.c...
Compiling src/mame/video/m72.c...
Compiling src/mame/drivers/m90.c...
Compiling src/mame/video/m90.c...
Compiling src/mame/drivers/m92.c...
Compiling src/mame/video/m92.c...
src/mame/drivers/m90.c:1182: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 *)(memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/m107.c...
1 warning generated.
Compiling src/mame/video/m107.c...
Compiling src/mame/drivers/redalert.c...
Compiling src/mame/drivers/olibochu.c...
Compiling src/mame/audio/redalert.c...
Compiling src/mame/video/redalert.c...
Compiling src/mame/drivers/shisen.c...
Compiling src/mame/video/shisen.c...
Compiling src/mame/drivers/travrusa.c...
Compiling src/mame/video/travrusa.c...
Compiling src/mame/drivers/vigilant.c...
Compiling src/mame/video/vigilant.c...
Compiling src/mame/machine/irem_cpu.c...
Compiling src/mame/audio/irem.c...
Compiling src/mame/drivers/capbowl.c...
Compiling src/mame/video/capbowl.c...
Compiling src/mame/drivers/itech8.c...
Compiling src/mame/machine/slikshot.c...
Compiling src/mame/video/itech8.c...
Compiling src/mame/drivers/itech32.c...
Compiling src/mame/video/itech32.c...
src/mame/drivers/itech32.c:607:19: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        UINT32 result = ((UINT32 *)m_main_ram.target())[m_itech020_prot_address >> 2];
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/itech32.c:882:4: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                ((UINT32 *)m_main_ram.target())[0x2ce4/4] = 0x0000001e;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/iteagle.c...
Compiling src/mame/drivers/aeroboto.c...
Compiling src/mame/video/aeroboto.c...
2 warnings generated.
Compiling src/mame/drivers/argus.c...
Compiling src/mame/video/argus.c...
Compiling src/mame/drivers/bestleag.c...
Compiling src/mame/drivers/bigstrkb.c...
Compiling src/mame/video/bigstrkb.c...
Compiling src/mame/drivers/blueprnt.c...
Compiling src/mame/video/blueprnt.c...
Compiling src/mame/drivers/bnstars.c...
Compiling src/mame/video/cischeat.c...
Compiling src/mame/drivers/citycon.c...
Compiling src/mame/video/citycon.c...
Compiling src/mame/drivers/ddayjlc.c...
Compiling src/mame/drivers/exerion.c...
Compiling src/mame/video/exerion.c...
Compiling src/mame/drivers/fcombat.c...
Compiling src/mame/video/fcombat.c...
Compiling src/mame/drivers/ginganin.c...
Compiling src/mame/video/ginganin.c...
Compiling src/mame/drivers/homerun.c...
src/mame/drivers/ginganin.c:374:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/homerun.c...
Compiling src/mame/drivers/megasys1.c...
Compiling src/mame/video/megasys1.c...
Compiling src/mame/drivers/momoko.c...
src/mame/drivers/megasys1.c:3729: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 *) m_region_maincpu->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/megasys1.c:3858: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 *) m_region_maincpu->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/megasys1.c:3982: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 *) m_region_maincpu->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/megasys1.c:4050: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*)m_region_maincpu->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/momoko.c...
4 warnings generated.
Compiling src/mame/drivers/ms32.c...
Compiling src/mame/video/ms32.c...
Compiling src/mame/drivers/psychic5.c...
Compiling src/mame/video/psychic5.c...
Compiling src/mame/drivers/skyfox.c...
Compiling src/mame/drivers/pturn.c...
Compiling src/mame/video/skyfox.c...
Compiling src/mame/video/tetrisp2.c...
Compiling src/mame/machine/jalcrpt.c...
Compiling src/mame/video/jalblend.c...
Compiling src/mame/drivers/guab.c...
src/mame/machine/jalcrpt.c:7:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16  *RAM    =   (UINT16 *) machine.root_device().memregion(region)->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/jalcrpt.c:41:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16  *RAM    =   (UINT16 *) machine.root_device().memregion(region)->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/jalcrpt.c:75:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16  *RAM    =   (UINT16 *) machine.root_device().memregion(region)->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/jpmsys5sw.c...
Compiling src/mame/drivers/jpmmps.c...
3 warnings generated.
Compiling src/mame/drivers/jpms80.c...
Compiling src/mame/drivers/jpmsru.c...
Compiling src/mame/video/jpmimpct.c...
Compiling src/mame/drivers/jpmimpctsw.c...
Compiling src/mame/drivers/pluto5.c...
Compiling src/mame/drivers/jpmsys7.c...
Compiling src/mame/drivers/airbustr.c...
src/mame/drivers/pluto5.c:246:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_cpuregion = (UINT32*)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/pluto5.c:838:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        astra_addresslines( (UINT16*)memregion( "maincpu" )->base(), memregion( "maincpu" )->bytes(), 0 );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/airbustr.c...
2 warnings generated.
Compiling src/mame/drivers/djboy.c...
Compiling src/mame/video/djboy.c...
Compiling src/mame/drivers/expro02.c...
Compiling src/mame/drivers/galpanic.c...
Compiling src/mame/video/galpanic.c...
src/mame/drivers/expro02.c:905:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *src = (UINT32 *)memregion("gfx3" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/expro02.c:906:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *dst = (UINT32 *)memregion("gfx2" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/galpani2.c...
Compiling src/mame/video/galpani2.c...
2 warnings generated.
Compiling src/mame/drivers/galpani3.c...
src/mame/drivers/galpani2.c:339: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 *) memregion( "user1" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/kaneko_grap2.c...
Compiling src/mame/drivers/hvyunit.c...
Compiling src/mame/drivers/jchan.c...
1 warning generated.
Compiling src/mame/drivers/kaneko16.c...
Compiling src/mame/video/kaneko16.c...
Compiling src/mame/video/kaneko_tmap.c...
Compiling src/mame/video/kaneko_spr.c...
Compiling src/mame/machine/kaneko_hit.c...
Compiling src/mame/machine/kaneko_calc3.c...
Compiling src/mame/machine/kaneko_toybox.c...
Compiling src/mame/drivers/sandscrp.c...
Compiling src/mame/drivers/suprnova.c...
Compiling src/mame/video/suprnova.c...
Compiling src/mame/video/sknsspr.c...
Compiling src/mame/drivers/88games.c...
Compiling src/mame/video/88games.c...
Compiling src/mame/drivers/ajax.c...
Compiling src/mame/machine/ajax.c...
Compiling src/mame/video/ajax.c...
Compiling src/mame/drivers/aliens.c...
Compiling src/mame/video/aliens.c...
Compiling src/mame/drivers/asterix.c...
Compiling src/mame/video/asterix.c...
Compiling src/mame/drivers/battlnts.c...
Compiling src/mame/video/battlnts.c...
Compiling src/mame/drivers/bishi.c...
Compiling src/mame/video/bishi.c...
Compiling src/mame/drivers/bladestl.c...
Compiling src/mame/video/bladestl.c...
Compiling src/mame/drivers/blockhl.c...
Compiling src/mame/video/blockhl.c...
Compiling src/mame/drivers/bottom9.c...
Compiling src/mame/video/bottom9.c...
Compiling src/mame/video/chqflag.c...
Compiling src/mame/drivers/circusc.c...
Compiling src/mame/video/circusc.c...
Compiling src/mame/drivers/cobra.c...
Compiling src/mame/drivers/combatsc.c...
src/mame/drivers/cobra.c:3305:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *rom = (UINT32*)memregion("user2")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cobra.c:3316:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *rom = (UINT32*)memregion("user3")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cobra.c:3387:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *rom = (UINT32*)memregion("user2")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cobra.c:3413:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *rom = (UINT32*)memregion("user3")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/combatsc.c...
Compiling src/mame/drivers/contra.c...
Compiling src/mame/video/contra.c...
4 warnings generated.
Compiling src/mame/drivers/crimfght.c...
Compiling src/mame/video/crimfght.c...
Compiling src/mame/drivers/dbz.c...
Compiling src/mame/video/dbz.c...
Compiling src/mame/drivers/ddribble.c...
src/mame/drivers/dbz.c:517:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        ROM = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/dbz.c:550:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        ROM = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/dbz.c:573:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        ROM = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/ddribble.c...
Compiling src/mame/drivers/djmain.c...
3 warnings generated.
Compiling src/mame/video/djmain.c...
Compiling src/mame/drivers/fastfred.c...
Compiling src/mame/video/fastfred.c...
Compiling src/mame/drivers/fastlane.c...
Compiling src/mame/video/fastlane.c...
Compiling src/mame/drivers/finalizr.c...
Compiling src/mame/video/finalizr.c...
Compiling src/mame/machine/midikbd.c...
Compiling src/mame/drivers/flkatck.c...
Compiling src/mame/video/flkatck.c...
Compiling src/mame/drivers/gberet.c...
Compiling src/mame/video/gberet.c...
Compiling src/mame/drivers/gbusters.c...
Compiling src/mame/video/gbusters.c...
Compiling src/mame/drivers/gijoe.c...
Compiling src/mame/video/gijoe.c...
Compiling src/mame/drivers/gradius3.c...
Compiling src/mame/video/gradius3.c...
Compiling src/mame/drivers/gticlub.c...
Compiling src/mame/video/gticlub.c...
Compiling src/mame/drivers/gyruss.c...
src/mame/video/gticlub.c:95: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*)machine.root_device().memregion("gfx1")->base();
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/gticlub.c:1288: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/gticlub.c:1298: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/gyruss.c...
2 warnings generated.
Compiling src/mame/drivers/hcastle.c...
1 warning generated.
Compiling src/mame/video/hcastle.c...
Compiling src/mame/drivers/hexion.c...
Compiling src/mame/video/hexion.c...
Compiling src/mame/drivers/hornet.c...
Compiling src/mame/machine/konppc.c...
Compiling src/mame/drivers/hyperspt.c...
Compiling src/mame/audio/hyprolyb.c...
Compiling src/mame/video/hyperspt.c...
Compiling src/mame/drivers/ironhors.c...
Compiling src/mame/video/ironhors.c...
Compiling src/mame/drivers/jackal.c...
Compiling src/mame/video/jackal.c...
Compiling src/mame/drivers/jailbrek.c...
Compiling src/mame/video/jailbrek.c...
Compiling src/mame/drivers/junofrst.c...
Compiling src/mame/drivers/konamigq.c...
Compiling src/mame/drivers/konamigv.c...
Compiling src/mame/drivers/konamigx.c...
Compiling src/mame/machine/konamigx.c...
Compiling src/mame/video/konamigx.c...
src/mame/drivers/konamigx.c:918: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 *)memregion("gfx3")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/konamigx.c:925: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 *)memregion("gfx3")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/konamim2.c...
src/mame/drivers/konamigx.c:3752:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *rom = (UINT32*)memregion("maincpu")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/kontest.c...
3 warnings generated.
Compiling src/mame/drivers/konendev.c...
Compiling src/mame/drivers/ksys573.c...
Compiling src/mame/machine/k573cass.c...
Compiling src/mame/machine/mpeg573.c...
Compiling src/mame/machine/zs01.c...
src/mame/drivers/ksys573.c:1328:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *p_n_psxram = (UINT32 *) m_ram->pointer();
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/ksys573.c:1352:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *p_n_psxram = (UINT32 *) m_ram->pointer();
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/labyrunr.c...
Compiling src/mame/video/labyrunr.c...
Compiling src/mame/drivers/lethal.c...
Compiling src/mame/video/lethal.c...
Compiling src/mame/drivers/mainevt.c...
Compiling src/mame/video/mainevt.c...
Compiling src/mame/drivers/megazone.c...
2 warnings generated.
Compiling src/mame/video/megazone.c...
Compiling src/mame/drivers/mikie.c...
Compiling src/mame/video/mikie.c...
Compiling src/mame/drivers/mogura.c...
Compiling src/mame/drivers/moo.c...
Compiling src/mame/video/moo.c...
Compiling src/mame/drivers/mystwarr.c...
Compiling src/mame/video/mystwarr.c...
Compiling src/mame/drivers/nemesis.c...
Compiling src/mame/video/nemesis.c...
Compiling src/mame/drivers/nwk-tr.c...
Compiling src/mame/video/overdriv.c...
Compiling src/mame/drivers/pandoras.c...
Compiling src/mame/video/pandoras.c...
Compiling src/mame/video/parodius.c...
Compiling src/mame/drivers/parodius.c...
Compiling src/mame/drivers/pingpong.c...
Compiling src/mame/video/pingpong.c...
Compiling src/mame/drivers/plygonet.c...
Compiling src/mame/video/plygonet.c...
Compiling src/mame/drivers/pooyan.c...
src/mame/drivers/plygonet.c:137:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        ROM = (UINT32 *)memregion("gfx1")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/plygonet.c:146:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        ROM = (UINT32 *)memregion("gfx2")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/pooyan.c...
src/mame/video/plygonet.c:39:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        UINT32 *vram = (UINT32 *)m_ttl_vram;
                       ^~~~~~~~~~~~~~~~~~~~
src/mame/video/plygonet.c:46:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        UINT32 *vram = (UINT32 *)m_ttl_vram;
                       ^~~~~~~~~~~~~~~~~~~~
src/mame/video/plygonet.c:56:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        UINT32 *vram = (UINT32 *)m_roz_vram;
                       ^~~~~~~~~~~~~~~~~~~~
src/mame/video/plygonet.c:63:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        UINT32 *vram = (UINT32 *)m_roz_vram;
                       ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/drivers/pyson.c...
4 warnings generated.
Compiling src/mame/drivers/qdrmfgp.c...
Compiling src/mame/video/qdrmfgp.c...
Compiling src/mame/drivers/rockrage.c...
Compiling src/mame/video/rockrage.c...
Compiling src/mame/drivers/rocnrope.c...
Compiling src/mame/video/rocnrope.c...
Compiling src/mame/drivers/rollerg.c...
Compiling src/mame/video/rollerg.c...
Compiling src/mame/drivers/rungun.c...
Compiling src/mame/video/rungun.c...
Compiling src/mame/drivers/sbasketb.c...
Compiling src/mame/video/sbasketb.c...
Compiling src/mame/drivers/scobra.c...
Compiling src/mame/drivers/scotrsht.c...
Compiling src/mame/video/scotrsht.c...
Compiling src/mame/drivers/scramble.c...
Compiling src/mame/machine/scramble.c...
Compiling src/mame/audio/scramble.c...
Compiling src/mame/drivers/shaolins.c...
Compiling src/mame/video/shaolins.c...
Compiling src/mame/drivers/simpsons.c...
Compiling src/mame/machine/simpsons.c...
Compiling src/mame/video/simpsons.c...
Compiling src/mame/drivers/spy.c...
Compiling src/mame/video/spy.c...
Compiling src/mame/drivers/surpratk.c...
Compiling src/mame/video/surpratk.c...
Compiling src/mame/drivers/tasman.c...
Compiling src/mame/drivers/tgtpanic.c...
Compiling src/mame/drivers/thunderx.c...
Compiling src/mame/video/thunderx.c...
src/mame/drivers/tasman.c:752: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*)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/timeplt.c...
Compiling src/mame/audio/timeplt.c...
1 warning generated.
Compiling src/mame/video/timeplt.c...
Compiling src/mame/drivers/tmnt.c...
Compiling src/mame/video/tmnt.c...
Compiling src/mame/drivers/tp84.c...
Compiling src/mame/video/tp84.c...
Compiling src/mame/drivers/trackfld.c...
Compiling src/mame/machine/konami1.c...
Compiling src/mame/audio/trackfld.c...
Compiling src/mame/video/trackfld.c...
Compiling src/mame/drivers/tutankhm.c...
Compiling src/mame/video/tutankhm.c...
Compiling src/mame/drivers/twin16.c...
Compiling src/mame/video/twin16.c...
Compiling src/mame/drivers/twinkle.c...
src/mame/drivers/twin16.c:90:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return ((UINT16 *)memregion("gfx3")->base())[offset];
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/twin16.c:1303:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_gfx_rom = (UINT16 *)memregion("gfx2")->base();
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/ultrsprt.c...
Compiling src/mame/drivers/ultraman.c...
src/mame/drivers/twinkle.c:681:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *waveram = (UINT16 *)memregion("rfsnd")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/twinkle.c:688:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *waveram = (UINT16 *)memregion("rfsnd")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/video/ultraman.c...
Compiling src/mame/drivers/vendetta.c...
2 warnings generated.
Compiling src/mame/video/vendetta.c...
Compiling src/mame/drivers/viper.c...
Compiling src/mame/video/wecleman.c...
Compiling src/mame/drivers/xexex.c...
src/mame/video/wecleman.c:910:28: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_rgb_half     =          (UINT16*)(buffer + 0x00000);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/wecleman.c:911:31: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
        m_t32x32pm     =             (int*)(buffer + 0x10020);
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/wecleman.c:912:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'struct sprite **' increases required alignment from 1 to 8 [-Wcast-align]
        m_spr_ptr_list = (struct sprite **)(buffer + 0x12000);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/wecleman.c:913:30: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
        m_spr_idx_list =            (int *)(buffer + 0x12400);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/wecleman.c:914:30: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
        m_spr_pri_list =            (int *)(buffer + 0x12800);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/wecleman.c:1007:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'struct sprite **' increases required alignment from 1 to 8 [-Wcast-align]
        m_spr_ptr_list = (struct sprite **)buffer;
                         ^~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/xexex.c...
Compiling src/mame/drivers/xmen.c...
6 warnings generated.
Compiling src/mame/video/xmen.c...
Compiling src/mame/drivers/yiear.c...
Compiling src/mame/video/yiear.c...
Compiling src/mame/drivers/zr107.c...
Compiling src/mame/video/konamiic.c...
Compiling src/mame/video/konicdev.c...
Compiling src/mame/drivers/maygay1bsw.c...
src/mame/video/konamiic.c:1290:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        K055673_rom = (UINT16 *)machine.root_device().memregion(gfx_memory_region)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/konamiic.c:1404: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 *)space.machine().root_device().memregion(K053247_memory_region)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/konamiic.c:1441: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 *)space.machine().root_device().memregion(K053247_memory_region)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
Compiling src/mame/drivers/maygayv1.c...
src/mame/video/konicdev.c:1216:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        konami_shuffle_16((UINT16 *)machine.root_device().memregion(mem_region)->base(),machine.root_device().memregion(mem_region)->bytes()/2);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/konicdev.c:1224:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        konami_shuffle_16((UINT16 *)rgn,machine.root_device().memregion(mem_region)->bytes()/4);
                          ^~~~~~~~~~~~~
src/mame/video/konicdev.c:1225:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        konami_shuffle_16((UINT16 *)(rgn+machine.root_device().memregion(mem_region)->bytes()/2),machine.root_device().memregion(mem_region)->bytes()/4);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/konicdev.c:4476: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 *)space.machine().root_device().memregion(k053246->memory_region)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/konicdev.c:4514: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 *)space.machine().root_device().memregion(k053246->memory_region)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/konicdev.c:5190:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        K055673_rom = (UINT16 *)machine.root_device().memregion(intf->gfx_memory_region)->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/konicdev.c:9008: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*)space.machine().root_device().memregion(k001006->gfx_region)->base();
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/maygayep.c...
Compiling src/mame/drivers/maygaysw.c...
Compiling src/mame/drivers/mmm.c...
Compiling src/mame/video/lazercmd.c...
Compiling src/mame/audio/meadows.c...
Compiling src/mame/video/meadows.c...
Compiling src/mame/drivers/warpsped.c...
7 warnings generated.
Compiling src/mame/drivers/merit.c...
Compiling src/mame/drivers/meritm.c...
Compiling src/mame/drivers/hyprduel.c...
Compiling src/mame/video/hyprduel.c...
Compiling src/mame/drivers/metro.c...
Compiling src/mame/video/metro.c...
Compiling src/mame/drivers/rabbit.c...
Compiling src/mame/drivers/tmmjprd.c...
Compiling src/mame/drivers/wallc.c...
Compiling src/mame/drivers/wink.c...
Compiling src/mame/audio/8080bw.c...
Compiling src/mame/video/8080bw.c...
Compiling src/mame/drivers/m79amb.c...
Compiling src/mame/audio/m79amb.c...
Compiling src/mame/machine/mw8080bw.c...
Compiling src/mame/audio/mw8080bw.c...
Compiling src/mame/video/mw8080bw.c...
Compiling src/mame/drivers/rotaryf.c...
Compiling src/mame/video/sspeedr.c...
Compiling src/mame/video/astrocde.c...
Compiling src/mame/drivers/atlantis.c...
Compiling src/mame/machine/balsente.c...
Compiling src/mame/video/balsente.c...
Compiling src/mame/drivers/gridlee.c...
Compiling src/mame/audio/gridlee.c...
Compiling src/mame/video/gridlee.c...
Compiling src/mame/machine/mcr.c...
Compiling src/mame/video/mcr.c...
Compiling src/mame/video/mcr3.c...
Compiling src/mame/drivers/mcr68.c...
Compiling src/mame/machine/mcr68.c...
Compiling src/mame/video/mcr68.c...
Compiling src/mame/drivers/midqslvr.c...
Compiling src/mame/drivers/midtunit.c...
Compiling src/mame/machine/midtunit.c...
Compiling src/mame/video/midtunit.c...
Compiling src/mame/drivers/midvunit.c...
Compiling src/mame/video/midvunit.c...
Compiling src/mame/drivers/midwunit.c...
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:578: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:579: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:580: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:544:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:543:101: note: expanded from macro 'DECLARE_BLITTER_SET'
#define DECLARE_BLITTER_SET(prefix, bpp, extract, skip, scale)                                      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:545:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:544:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:546:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:545:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:547:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:546:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:548:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:547:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1,      bpp, extract, XFLIP_NO,  skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:549:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:548:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:550:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:549:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:551:38: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0c1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COPY,  PIXEL_COLOR)     \
                                     ^
src/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:550:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1,    bpp, extract, XFLIP_NO,  skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:553: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:552:26: note: expanded from macro 'DECLARE_BLITTER_SET'
                                                                                                                                                                                                        \
                                                                                                                                                                                                        ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:554: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:553:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:555: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:554:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:556: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:555:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:557: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:556:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c1_xf,   bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP,  PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:558: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:557:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY,  PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:559: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:558:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR)     \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:385:18: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                        UINT8 value = EXTRACTGEN(0xff);                                     \
                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:434:16: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                                d[sx] = (extractor(mask)) | pal;                        \
                                                         ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:560: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/mame/video/midtunit.c:534:32: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
                                      ^
src/mame/video/midtunit.c:440:19: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        int pixel = (extractor(mask));                              \
                                                     ^
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:581: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/mame/video/midtunit.c:559:101: note: expanded from macro 'DECLARE_BLITTER_SET'
DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY)      \
                                                                                                    ^
src/mame/video/midtunit.c:534:2: note: expanded from macro '\
DMA_DRAW_FUNC'
        DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero)   \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:516:20: note: expanded from macro 'DMA_DRAW_FUNC_BODY'
                                        UINT8 value = EXTRACTGEN(0xff);                             \
                                                      ^~~~~~~~~~~~~~~~
src/mame/video/midtunit.c:351:28: note: expanded from macro 'EXTRACTGEN'
#define EXTRACTGEN(m)   ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m))
                           ^~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/midwunit.c...
Compiling src/mame/drivers/midxunit.c...
Compiling src/mame/machine/midxunit.c...
Compiling src/mame/drivers/midyunit.c...
256 warnings generated.
Compiling src/mame/machine/midyunit.c...
Compiling src/mame/video/midyunit.c...
Compiling src/mame/video/midzeus.c...
Compiling src/mame/video/midzeus2.c...
In file included from src/mame/video/midzeus.c:10:
In file included from src/emu/video/rgbutil.h:18:
src/emu/video/rgbsse.h:268:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color1 = _mm_madd_epi16(*color1, *(__m128i *)&rgbsse_statics.scale_table[color1scale][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:298:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:308:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:346:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:347:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/pinball2k.c...
src/emu/video/rgbsse.h:351:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:387:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:388:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:392:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
Compiling src/mame/drivers/seattle.c...
Compiling src/mame/drivers/tmaster.c...
In file included from src/mame/video/midzeus2.c:11:
In file included from src/emu/video/rgbutil.h:18:
src/emu/video/rgbsse.h:268:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color1 = _mm_madd_epi16(*color1, *(__m128i *)&rgbsse_statics.scale_table[color1scale][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:298:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:308:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:346:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:347:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:351:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:387:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:388:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:392:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
Compiling src/mame/drivers/vegas.c...
Compiling src/mame/drivers/wmg.c...
Compiling src/mame/drivers/williams.c...
src/mame/drivers/tmaster.c:1653: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1674: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1696: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1718: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1739: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1762: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1774: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1795: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1818: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1841: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1864: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/tmaster.c:1921: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 warnings generated.
Compiling src/mame/machine/williams.c...
Compiling src/mame/audio/williams.c...
Compiling src/mame/video/williams.c...
Compiling src/mame/machine/midwayic.c...
Compiling src/mame/audio/dcs.c...
Compiling src/mame/audio/gorf.c...
Compiling src/mame/audio/midway.c...
Compiling src/mame/audio/wow.c...
Compiling src/mame/drivers/20pacgal.c...
src/mame/audio/dcs.c:954:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        dcs.bootrom = (UINT16 *)machine.root_device().memregion("dcs")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/dcs.c:1007:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        dcs.bootrom = (UINT16 *)machine.root_device().memregion("dcs")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/20pacgal.c...
2 warnings generated.
Compiling src/mame/drivers/baraduke.c...
Compiling src/mame/video/baraduke.c...
Compiling src/mame/drivers/dambustr.c...
Compiling src/mame/drivers/gal3.c...
Compiling src/mame/drivers/galaga.c...
Compiling src/mame/audio/galaga.c...
Compiling src/mame/video/galaga.c...
Compiling src/mame/drivers/galaxian.c...
Compiling src/mame/audio/galaxian.c...
Compiling src/mame/video/galaxian.c...
Compiling src/mame/drivers/galaxold.c...
Compiling src/mame/machine/galaxold.c...
Compiling src/mame/video/galaxold.c...
Compiling src/mame/drivers/gaplus.c...
Compiling src/mame/machine/gaplus.c...
Compiling src/mame/video/gaplus.c...
Compiling src/mame/drivers/mappy.c...
Compiling src/mame/video/mappy.c...
Compiling src/mame/video/namcofl.c...
Compiling src/mame/drivers/namcoic.c...
Compiling src/mame/drivers/namcona1.c...
Compiling src/mame/video/namcona1.c...
Compiling src/mame/drivers/namconb1.c...
Compiling src/mame/video/namconb1.c...
src/mame/video/namcona1.c:115:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        UINT16 *source = (UINT16 *)mask_data;
                                         ^~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcona1.c:1065:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *pMem = (UINT16 *)state->memregion( "maincpu" )->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/namcond1.c...
1 warning generated.
Compiling src/mame/machine/namcond1.c...
Compiling src/mame/video/ygv608.c...
Compiling src/mame/drivers/namcops2.c...
Compiling src/mame/drivers/namcos1.c...
Compiling src/mame/machine/namcos1.c...
Compiling src/mame/video/namcos1.c...
Compiling src/mame/drivers/namcos10.c...
Compiling src/mame/drivers/namcos11.c...
Compiling src/mame/machine/ns11prot.c...
src/mame/drivers/namcos10.c:354:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT16 *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT32 d16 = ((const UINT16 *)(memregion("maincpu:rom")->base()))[offset+bank_base];
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos10.c:495:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        nand_copy( (UINT32 *)( BIOS + 0x0000000 ), 0x08000, 0x001c000 );
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos10.c:496:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        nand_copy( (UINT32 *)( BIOS + 0x0020000 ), 0x24000, 0x03e0000 );
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos10.c:503:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *BIOS = (UINT16 *)( region->base() + start );
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/namcos12.c...
4 warnings generated.
Compiling src/mame/machine/namcos2.c...
src/mame/drivers/namcos12.c:1197:11: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        source = (UINT16 *) memregion( n_region )->base();
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos12.c:1608:5: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        *( (UINT32 *)( memregion( "maincpu:rom" )->base() + 0x331c4 ) ) = 0;
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/namcos2.c...
Compiling src/mame/drivers/namcos21.c...
Compiling src/mame/video/namcos21.c...
2 warnings generated.
Compiling src/mame/drivers/namcos22.c...
src/mame/drivers/namcos21.c:315: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 *)machine.root_device().memregion( "user2" )->base();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:592:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *pMem = (UINT16 *)state->memregion("dspmaster")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:1223:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *ptrom = (UINT16 *)memregion("user2")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:1265:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        const UINT16 *pSrc = (UINT16 *)memregion( "user3" )->base();
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:1283:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *mem = (UINT16 *)memregion("dsp")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:2270:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        state->m_mpDataROM = (UINT16 *)state->memregion( "user1" )->base();
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:2281:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *pMem = (UINT16 *)memregion("dsp")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:2289:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_mpDataROM = (UINT16 *)memregion( "user1" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:2313:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *mem = (UINT16 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:2324:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *pMem = (UINT16 *)memregion("dsp")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos21.c:2330:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_mpDataROM = (UINT16 *)memregion( "user1" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/namcos22.c...
Compiling src/mame/drivers/namcos23.c...
src/mame/drivers/namcos22.c:5371:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *pROM = (UINT32 *)memregion("maincpu")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/namcos22.c:39:
In file included from src/emu/video/rgbutil.h:18:
src/emu/video/rgbsse.h:268:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color1 = _mm_madd_epi16(*color1, *(__m128i *)&rgbsse_statics.scale_table[color1scale][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:298:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:308:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:346:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:347:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:351:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:387:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:388:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:392:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
Compiling src/mame/drivers/namcos86.c...
src/mame/drivers/namcos23.c:3346:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT32 *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_ptrom  = (const UINT32 *)memregion("pointrom")->base();
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/namcos23.c:3347:13: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'const UINT16 *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_tmlrom = (const UINT16 *)memregion("textilemapl")->base();
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/namcos86.c...
9 warnings generated.
Compiling src/mame/drivers/pacland.c...
Compiling src/mame/video/pacland.c...
2 warnings generated.
Compiling src/mame/audio/polepos.c...
Compiling src/mame/video/polepos.c...
Compiling src/mame/drivers/rallyx.c...
Compiling src/mame/video/rallyx.c...
Compiling src/mame/drivers/skykid.c...
Compiling src/mame/video/skykid.c...
Compiling src/mame/drivers/tankbatt.c...
Compiling src/mame/video/tankbatt.c...
Compiling src/mame/video/tceptor.c...
Compiling src/mame/drivers/toypop.c...
Compiling src/mame/video/toypop.c...
Compiling src/mame/drivers/turrett.c...
Compiling src/mame/audio/geebee.c...
Compiling src/mame/audio/warpwarp.c...
Compiling src/mame/video/warpwarp.c...
Compiling src/mame/machine/namcoio.c...
Compiling src/mame/machine/namco06.c...
Compiling src/mame/machine/namco50.c...
Compiling src/mame/machine/namco51.c...
Compiling src/mame/machine/namco53.c...
Compiling src/mame/machine/namco62.c...
Compiling src/mame/audio/namco52.c...
Compiling src/mame/audio/namco54.c...
Compiling src/mame/video/bosco.c...
Compiling src/mame/video/digdug.c...
Compiling src/mame/machine/xevious.c...
Compiling src/mame/video/xevious.c...
Compiling src/mame/drivers/crgolf.c...
Compiling src/mame/video/crgolf.c...
Compiling src/mame/drivers/suprgolf.c...
Compiling src/mame/video/neogeo.c...
Compiling src/mame/machine/neoboot.c...
Compiling src/mame/machine/neocrypt.c...
Compiling src/mame/machine/neoprot.c...
Compiling src/mame/drivers/armedf.c...
src/mame/machine/neoprot.c:117: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*)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:729: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/mame/machine/neocrypt.c:998:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1017:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1031:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1039:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1046:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1065:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1073:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1080:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1099:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1107:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1114:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1133:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)(memregion("maincpu")->base() + 0x100000);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.csrc/mame/machine/neoboot.c::1152:8: 76warning: :cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]16
: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        UINT16 *rom = (UINT16 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:139: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*)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:174: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*)memregion( "maincpu" )->base();
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:219: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/mame/machine/neoboot.c:220: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/mame/machine/neoboot.c:222: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/mame/machine/neoboot.c:223: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/mame/machine/neoboot.c:224: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/mame/machine/neoboot.c:234: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*)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:236: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*)memregion("audiocrypt")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:501: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1461: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 *)memregion("ymsnd")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neocrypt.c:1545: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*)memregion( "mainbios" )->base();
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:611: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:682: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*)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:901: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 *)memregion("maincpu")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/neoboot.c:999: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*)memregion( "maincpu" )->base();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/armedf.c...
15 warnings generated.
Compiling src/mame/drivers/cclimber.c...
16 warnings generated.
Compiling src/mame/machine/cclimber.c...
Compiling src/mame/audio/cclimber.c...
Compiling src/mame/video/cclimber.c...
Compiling src/mame/drivers/clshroad.c...
Compiling src/mame/video/clshroad.c...
Compiling src/mame/drivers/csplayh5.c...
Compiling src/mame/drivers/cop01.c...
Compiling src/mame/drivers/dacholer.c...
Compiling src/mame/video/cop01.c...
src/mame/drivers/csplayh5.c:686:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *MAINROM = (UINT16 *)machine.root_device().memregion("maincpu")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/galivan.c...
1 warning generated.
Compiling src/mame/video/galivan.c...
Compiling src/mame/drivers/gomoku.c...
Compiling src/mame/audio/gomoku.c...
Compiling src/mame/video/gomoku.c...
Compiling src/mame/drivers/hyhoo.c...
Compiling src/mame/video/hyhoo.c...
Compiling src/mame/drivers/jangou.c...
Compiling src/mame/drivers/magmax.c...
Compiling src/mame/video/magmax.c...
Compiling src/mame/video/nbmj8688.c...
Compiling src/mame/video/nbmj8891.c...
Compiling src/mame/drivers/nbmj8891.c...
Compiling src/mame/drivers/nbmj8900.c...
Compiling src/mame/video/nbmj8900.c...
Compiling src/mame/drivers/nbmj8991.c...
Compiling src/mame/video/nbmj8991.c...
Compiling src/mame/drivers/nbmj9195.c...
Compiling src/mame/video/nbmj9195.c...
Compiling src/mame/drivers/nightgal.c...
Compiling src/mame/drivers/niyanpai.c...
Compiling src/mame/machine/m68kfmly.c...
Compiling src/mame/video/niyanpai.c...
Compiling src/mame/drivers/pastelg.c...
Compiling src/mame/video/pastelg.c...
Compiling src/mame/drivers/seicross.c...
Compiling src/mame/video/seicross.c...
Compiling src/mame/drivers/terracre.c...
Compiling src/mame/video/terracre.c...
Compiling src/mame/drivers/tubep.c...
Compiling src/mame/video/tubep.c...
Compiling src/mame/drivers/wiping.c...
Compiling src/mame/audio/wiping.c...
Compiling src/mame/video/wiping.c...
Compiling src/mame/machine/nb1413m3.c...
Compiling src/mame/machine/nb1414m4.c...
Compiling src/mame/drivers/cham24.c...
Compiling src/mame/drivers/dkong.c...
Compiling src/mame/audio/dkong.c...
Compiling src/mame/video/dkong.c...
Compiling src/mame/drivers/mario.c...
Compiling src/mame/audio/mario.c...
Compiling src/mame/video/mario.c...
Compiling src/mame/drivers/multigam.c...
Compiling src/mame/drivers/n8080.c...
Compiling src/mame/audio/n8080.c...
Compiling src/mame/video/n8080.c...
Compiling src/mame/drivers/nss.c...
Compiling src/mame/machine/snes.c...
Compiling src/mame/audio/snes_snd.c...
Compiling src/mame/video/snes.c...
src/mame/audio/snes_snd.c:290:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'src_dir_type *' increases required alignment from 1 to 2 [-Wcast-align]
        sd = (src_dir_type *) &m_ram[(int) m_dsp_regs[0x5d] << 8];
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/snes_snd.c:339:19: warning: cast from 'src_dir_type *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                        vp->samp_id = *( UINT32 * )&sd[vl];
                                       ^~~~~~~~~~~~~~~~~~~
src/mame/audio/snes_snd.c:392:26: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                vp->pitch = LEtoME16(*((UINT16 *)&m_dsp_regs[V + 2])) & 0x3fff;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/snes_snd.c:150:46: note: expanded from macro 'LEtoME16'
#define LEtoME16( x ) LITTLE_ENDIANIZE_INT16(x)
                                             ^
src/osd/osdcomm.h:224:38: note: expanded from macro 'LITTLE_ENDIANIZE_INT16'
#define LITTLE_ENDIANIZE_INT16(x)   (x)
                                     ^
src/mame/audio/snes_snd.c:627:50: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_fir_lbuf[m_fir_ptr] = (signed short)LEtoME16(*(UINT16 *)&m_ram[echo_base]);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/snes_snd.c:150:46: note: expanded from macro 'LEtoME16'
#define LEtoME16( x ) LITTLE_ENDIANIZE_INT16(x)
                                             ^
src/osd/osdcomm.h:224:38: note: expanded from macro 'LITTLE_ENDIANIZE_INT16'
#define LITTLE_ENDIANIZE_INT16(x)   (x)
                                     ^
src/mame/audio/snes_snd.c:628:50: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_fir_rbuf[m_fir_ptr] = (signed short)LEtoME16(*(UINT16 *)&m_ram[echo_base + sizeof(short)]);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/snes_snd.c:150:46: note: expanded from macro 'LEtoME16'
#define LEtoME16( x ) LITTLE_ENDIANIZE_INT16(x)
                                             ^
src/osd/osdcomm.h:224:38: note: expanded from macro 'LITTLE_ENDIANIZE_INT16'
#define LITTLE_ENDIANIZE_INT16(x)   (x)
                                     ^
src/mame/audio/snes_snd.c:692:4: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                *(UINT16 *)&m_ram[echo_base]                 = MEtoLE16((UINT16)echol);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/audio/snes_snd.c:693:4: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                *(UINT16 *)&m_ram[echo_base + sizeof(short)] = MEtoLE16((UINT16)echor);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
Compiling src/mame/drivers/playch10.c...
Compiling src/mame/machine/playch10.c...
Compiling src/mame/video/playch10.c...
Compiling src/mame/drivers/popeye.c...
Compiling src/mame/video/popeye.c...
Compiling src/mame/drivers/punchout.c...
Compiling src/mame/video/punchout.c...
Compiling src/mame/drivers/famibox.c...
Compiling src/mame/drivers/sfcbox.c...
Compiling src/mame/drivers/snesb.c...
Compiling src/mame/drivers/spacefb.c...
Compiling src/mame/audio/spacefb.c...
Compiling src/mame/video/spacefb.c...
Compiling src/mame/drivers/vsnes.c...
Compiling src/mame/machine/vsnes.c...
Compiling src/mame/video/vsnes.c...
Compiling src/mame/video/ppu2c0x.c...
Compiling src/mame/drivers/fitfight.c...
Compiling src/mame/video/fitfight.c...
Compiling src/mame/drivers/pirates.c...
Compiling src/mame/video/pirates.c...
src/mame/drivers/pirates.c:345:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("maincpu")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/pirates.c:437: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/acommand.c...
2 warnings generated.
Compiling src/mame/drivers/cultures.c...
Compiling src/mame/drivers/ddealer.c...
Compiling src/mame/drivers/jalmah.c...
Compiling src/mame/drivers/macrossp.c...
Compiling src/mame/video/macrossp.c...
Compiling src/mame/drivers/nmk16.c...
src/mame/drivers/nmk16.c:4594: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/nmk16.c:4610: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/nmk004.c...
Compiling src/mame/video/nmk16.c...
Compiling src/mame/drivers/quizdna.c...
src/mame/video/nmk16.c:611:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *tilerom = (UINT16 *)memregion("gfx5")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/quizdna.c...
1 warning generated.
Compiling src/mame/drivers/quizpani.c...
Compiling src/mame/video/quizpani.c...
2 warnings generated.
Compiling src/mame/drivers/battlex.c...
Compiling src/mame/video/battlex.c...
Compiling src/mame/drivers/carjmbre.c...
Compiling src/mame/video/carjmbre.c...
Compiling src/mame/drivers/popper.c...
Compiling src/mame/video/popper.c...
Compiling src/mame/drivers/spaceg.c...
Compiling src/mame/drivers/dday.c...
Compiling src/mame/video/dday.c...
Compiling src/mame/drivers/monzagp.c...
Compiling src/mame/drivers/portrait.c...
Compiling src/mame/video/portrait.c...
Compiling src/mame/drivers/vega.c...
Compiling src/mame/drivers/espial.c...
Compiling src/mame/video/espial.c...
Compiling src/mame/drivers/funkybee.c...
Compiling src/mame/video/funkybee.c...
Compiling src/mame/drivers/marineb.c...
Compiling src/mame/video/marineb.c...
Compiling src/mame/drivers/vastar.c...
Compiling src/mame/video/vastar.c...
Compiling src/mame/drivers/zodiack.c...
Compiling src/mame/video/zodiack.c...
Compiling src/mame/drivers/mrflea.c...
Compiling src/mame/video/mrflea.c...
Compiling src/mame/drivers/thief.c...
Compiling src/mame/video/thief.c...
Compiling src/mame/drivers/jrpacman.c...
Compiling src/mame/drivers/pacman.c...
Compiling src/mame/video/pacman.c...
Compiling src/mame/drivers/pengo.c...
Compiling src/mame/machine/acitya.c...
Compiling src/mame/machine/jumpshot.c...
Compiling src/mame/machine/pacplus.c...
Compiling src/mame/machine/theglobp.c...
Compiling src/mame/drivers/ggconnie.c...
Compiling src/mame/drivers/paranoia.c...
Compiling src/mame/drivers/tourvis.c...
Compiling src/mame/drivers/uapce.c...
Compiling src/mame/machine/pcecommn.c...
Compiling src/mame/video/vdc.c...
Compiling src/mame/drivers/naughtyb.c...
Compiling src/mame/video/naughtyb.c...
Compiling src/mame/drivers/phoenix.c...
Compiling src/mame/audio/phoenix.c...
Compiling src/mame/video/phoenix.c...
Compiling src/mame/drivers/safarir.c...
Compiling src/mame/audio/pleiads.c...
Compiling src/mame/drivers/drtomy.c...
Compiling src/mame/drivers/playmark.c...
Compiling src/mame/video/playmark.c...
src/mame/drivers/playmark.c:1705:28: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *playmark_PICROM = (UINT16 *)memregion("audiocpu")->base();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/powerbal.c...
Compiling src/mame/video/sderby.c...
Compiling src/mame/drivers/sslam.c...
1 warning generated.
Compiling src/mame/video/sslam.c...
Compiling src/mame/drivers/psikyo.c...
Compiling src/mame/video/psikyo.c...
Compiling src/mame/drivers/psikyo4.c...
Compiling src/mame/video/psikyo4.c...
Compiling src/mame/drivers/psikyosh.c...
Compiling src/mame/video/psikyosh.c...
Compiling src/mame/audio/hitme.c...
Compiling src/mame/drivers/starcrus.c...
Compiling src/mame/video/starcrus.c...
Compiling src/mame/drivers/btoads.c...
Compiling src/mame/video/btoads.c...
Compiling src/mame/drivers/kinst.c...
Compiling src/mame/drivers/xtheball.c...
Compiling src/mame/drivers/appoooh.c...
Compiling src/mame/video/appoooh.c...
Compiling src/mame/drivers/bankp.c...
Compiling src/mame/video/bankp.c...
Compiling src/mame/drivers/chinsan.c...
Compiling src/mame/drivers/drmicro.c...
Compiling src/mame/video/drmicro.c...
Compiling src/mame/drivers/jantotsu.c...
Compiling src/mame/drivers/mayumi.c...
Compiling src/mame/drivers/mermaid.c...
Compiling src/mame/video/mermaid.c...
Compiling src/mame/drivers/mjkjidai.c...
Compiling src/mame/video/mjkjidai.c...
Compiling src/mame/drivers/angelkds.c...
Compiling src/mame/video/angelkds.c...
Compiling src/mame/drivers/bingoc.c...
Compiling src/mame/audio/blockade.c...
Compiling src/mame/video/blockade.c...
Compiling src/mame/drivers/calorie.c...
Compiling src/mame/drivers/chihiro.c...
Compiling src/mame/drivers/coolridr.c...
src/mame/drivers/chihiro.c:2368:21: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
        } else if ((offset >= 0x00000000/4) && (offset < 0x00001000/4)) {
                    ~~~~~~ ^  ~~~~~~~~~~~~
src/mame/drivers/chihiro.c:2403:21: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
        } else if ((offset >= 0x00000000/4) && (offset < 0x00001000/4)) {
                    ~~~~~~ ^  ~~~~~~~~~~~~
Compiling src/mame/drivers/deniam.c...
src/mame/drivers/coolridr.c:3477:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16* compressed = (UINT16*)memregion( "compressedgfx" )->base();
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/deniam.c...
Compiling src/mame/drivers/dotrikun.c...
Compiling src/mame/drivers/gpworld.c...
2 warnings generated.
Compiling src/mame/drivers/hikaru.c...
1 warning generated.
Compiling src/mame/drivers/hshavoc.c...
Compiling src/mame/drivers/kopunch.c...
Compiling src/mame/video/kopunch.c...
Compiling src/mame/machine/megadriv.c...
src/mame/drivers/hshavoc.c:121: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/machine/megacdcd.c...
Compiling src/mame/machine/mega32x.c...
Compiling src/mame/machine/megavdp.c...
Compiling src/mame/drivers/megadrvb.c...
Compiling src/mame/drivers/megaplay.c...
Compiling src/mame/drivers/megatech.c...
Compiling src/mame/machine/model1.c...
Compiling src/mame/video/model1.c...
src/mame/machine/model1.c:498: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 *)state->memregion("user2")->base();
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/model1.c:888: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 *)state->memregion("user2")->base();
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/model1.c:1042: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 *)state->memregion("user2")->base();
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/audio/dsbz80.c...
src/mame/video/model1.c:1452:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_poly_rom = (UINT32 *)memregion("user1")->base();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/model2.c...
3 warnings generated.
Compiling src/mame/video/model2.c...
1 warning generated.
Compiling src/mame/drivers/model3.c...
Compiling src/mame/video/model3.c...
src/mame/drivers/model2.c:1152: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/model2.c:2712:29: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        model2_3d_init( machine(), (UINT16*)memregion("user3")->base() );
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/model2.c:2715:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        geo_init( machine(), (UINT32*)memregion("user2")->base() );
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/model3.c:3:
In file included from src/emu/video/rgbutil.h:18:
src/emu/video/rgbsse.h:268:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color1 = _mm_madd_epi16(*color1, *(__m128i *)&rgbsse_statics.scale_table[color1scale][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:298:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:308:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:346:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:347:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:351:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:387:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:388:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:392:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/model3.c:530:8: warning: cast from 'unsigned char *' to 'cached_texture *' increases required alignment from 1 to 8 [-Wcast-align]
        tex = (cached_texture *)auto_alloc_array(machine, UINT8, sizeof(cached_texture) + (2 * pixwidth * 2 * pixheight) * sizeof(rgb_t));
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model2.c:5361: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model2.c:5372: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model2.c:5414: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model2.c:5435: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/machine/model3.c...
src/mame/drivers/model3.c:5532:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *vrom1 = (UINT16*)state->memregion("user3")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5533:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *vrom2 = (UINT16*)state->memregion("user4")->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5595: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5606: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5618: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5652: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5666: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5679: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5699: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5718: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5749: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5759: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5770: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5780: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5790: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5800: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5810: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5825: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5841: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5851: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5862: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5870: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5882: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5895: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5909: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5924: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5933: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5942: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5952: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/model3.c:5963: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 warnings generated.
Compiling src/mame/drivers/naomi.c...
Compiling src/mame/machine/dc.c...
30 warnings generated.
Compiling src/mame/video/powervr2.c...
5 warnings generated.
Compiling src/mame/machine/naomi.c...
Compiling src/mame/machine/naomig1.c...
In file included from src/mame/video/powervr2.c:12:
In file included from src/emu/video/rgbutil.h:18:
src/emu/video/rgbsse.h:268:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color1 = _mm_madd_epi16(*color1, *(__m128i *)&rgbsse_statics.scale_table[color1scale][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:298:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:308:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:346:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:347:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:351:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:387:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:388:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:392:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:357:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c1 = *(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp));
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:358:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c2 = *(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp+2));
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:367:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_1555z(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:375:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_1555(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:384:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_1555(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:392:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_565z(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:400:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_565(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:409:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_565(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:417:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_4444z(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:425:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_4444(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/powervr2.c:434:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return cv_4444(*(UINT16 *)((reinterpret_cast<UINT8 *>(dc_texture_ram)) + WORD_XOR_LE(addrp)));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/naomibd.c...
src/mame/drivers/naomi.c:7580:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT64 *' (aka 'unsigned long long *') increases required alignment from 1 to 8 [-Wcast-align]
        UINT64 *ROM = (UINT64 *)memregion("awflash")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 warnings generated.
Compiling src/mame/machine/naomirom.c...
Compiling src/mame/machine/naomigd.c...
1 warning generated.
Compiling src/mame/machine/naomicrypt.c...
Compiling src/mame/machine/naomim1.c...
Compiling src/mame/machine/naomim2.c...
Compiling src/mame/machine/naomim4.c...
Compiling src/mame/machine/awboard.c...
Compiling src/mame/machine/mie.c...
Compiling src/mame/machine/maple-dc.c...
src/mame/machine/awboard.c:224: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 *)m_region->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/machine/mapledev.c...
Compiling src/mame/machine/dc-ctrl.c...
Compiling src/mame/machine/jvs13551.c...
Compiling src/mame/drivers/triforce.c...
Compiling src/mame/drivers/puckpkmn.c...
Compiling src/mame/drivers/segac2.c...
Compiling src/mame/drivers/segae.c...
Compiling src/mame/machine/segamsys.c...
Compiling src/mame/drivers/shtzone.c...
Compiling src/mame/drivers/segag80r.c...
Compiling src/mame/machine/segag80.c...
Compiling src/mame/audio/segag80r.c...
Compiling src/mame/video/segag80r.c...
Compiling src/mame/drivers/segag80v.c...
Compiling src/mame/audio/segag80v.c...
Compiling src/mame/video/segag80v.c...
Compiling src/mame/drivers/segahang.c...
Compiling src/mame/video/segahang.c...
Compiling src/mame/drivers/segajw.c...
Compiling src/mame/drivers/segald.c...
Compiling src/mame/video/segaorun.c...
Compiling src/mame/drivers/segas16a.c...
Compiling src/mame/video/segas16a.c...
Compiling src/mame/drivers/segas16b.c...
Compiling src/mame/video/segas16b.c...
Compiling src/mame/drivers/segas18.c...
src/mame/drivers/segas16b.c:7186: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 *)memregion("bios")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/segas16b.c:7197: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 *)memregion("gamecart_rgn")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/segas16b.c:7211: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 *)memregion("gamecart_rgn")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/segas18.c...
Compiling src/mame/drivers/segas24.c...
Compiling src/mame/video/segas24.c...
3 warnings generated.
Compiling src/mame/machine/segas32.c...
Compiling src/mame/video/segas32.c...
Compiling src/mame/drivers/segaxbd.c...
Compiling src/mame/video/segaxbd.c...
Compiling src/mame/video/segaybd.c...
src/mame/video/segas32.c:617:15: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        COMBINE_DATA((UINT32 *)&m_system32_spriteram[offset*2]);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/memory.h:960:44: note: expanded from macro 'COMBINE_DATA'
#define COMBINE_DATA(varptr)            (*(varptr) = (*(varptr) & ~mem_mask) | (data & mem_mask))
                                           ^
src/mame/video/segas32.c:617:15: warning: cast from 'unsigned short *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        COMBINE_DATA((UINT32 *)&m_system32_spriteram[offset*2]);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/memory.h:960:57: note: expanded from macro 'COMBINE_DATA'
#define COMBINE_DATA(varptr)            (*(varptr) = (*(varptr) & ~mem_mask) | (data & mem_mask))
                                                        ^
src/mame/video/segas32.c:648:15: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        COMBINE_DATA((UINT32 *)&m_mixer_control[0][offset*2]);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/memory.h:960:44: note: expanded from macro 'COMBINE_DATA'
#define COMBINE_DATA(varptr)            (*(varptr) = (*(varptr) & ~mem_mask) | (data & mem_mask))
                                           ^
src/mame/video/segas32.c:648:15: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        COMBINE_DATA((UINT32 *)&m_mixer_control[0][offset*2]);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/memory.h:960:57: note: expanded from macro 'COMBINE_DATA'
#define COMBINE_DATA(varptr)            (*(varptr) = (*(varptr) & ~mem_mask) | (data & mem_mask))
                                                        ^
src/mame/video/segas32.c:656:15: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        COMBINE_DATA((UINT32 *)&m_mixer_control[1][offset*2]);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/memory.h:960:44: note: expanded from macro 'COMBINE_DATA'
#define COMBINE_DATA(varptr)            (*(varptr) = (*(varptr) & ~mem_mask) | (data & mem_mask))
                                           ^
src/mame/video/segas32.c:656:15: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        COMBINE_DATA((UINT32 *)&m_mixer_control[1][offset*2]);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/memory.h:960:57: note: expanded from macro 'COMBINE_DATA'
#define COMBINE_DATA(varptr)            (*(varptr) = (*(varptr) & ~mem_mask) | (data & mem_mask))
                                                        ^
src/mame/video/segas32.c:1627: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 *)memregion("gfx2")->base();
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/sg1000a.c...
Compiling src/mame/video/stactics.c...
7 warnings generated.
Compiling src/mame/drivers/stv.c...
Compiling src/mame/machine/stvprot.c...
src/mame/drivers/stv.c:417:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *ROM = (UINT32 *)memregion("game0")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/decathlt.c...
Compiling src/mame/drivers/suprloco.c...
src/mame/machine/decathlt.c:30:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *fake0 = (UINT32*)space.machine().root_device().memregion( "fake0" )->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/stvprot.c:431: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 *)space.machine().root_device().memregion("abus")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/stvprot.c:464: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 *)space.machine().root_device().memregion("abus")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/stvprot.c:518:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *prot_data = (UINT32 *)space.machine().root_device().memregion("user2")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/stvprot.c:532: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 *)space.machine().root_device().memregion("abus")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/stvprot.c:589: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 *)space.machine().root_device().memregion("abus")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/suprloco.c...
5 warnings generated.
Compiling src/mame/drivers/system1.c...
Compiling src/mame/video/system1.c...
1 warning generated.
Compiling src/mame/drivers/system16.c...
Compiling src/mame/video/system16.c...
Compiling src/mame/drivers/timetrv.c...
src/mame/drivers/system16.c:3363:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        ROM2 = (UINT16*)memregion("maincpu")->base();
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/system16.c:3364:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        decrypted_region2 = (UINT16*)m_decrypted_region;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/system16.c:3426: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*)memregion( "maincpu" )->base();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/audio/turbo.c...
Compiling src/mame/video/turbo.c...
Compiling src/mame/audio/vicdual.c...
3 warnings generated.
Compiling src/mame/video/vicdual.c...
Compiling src/mame/drivers/zaxxon.c...
Compiling src/mame/audio/zaxxon.c...
Compiling src/mame/video/zaxxon.c...
Compiling src/mame/machine/fd1089.c...
Compiling src/mame/machine/fd1094.c...
Compiling src/mame/machine/fddebug.c...
Compiling src/mame/machine/mc8123.c...
Compiling src/mame/machine/segaic16.c...
Compiling src/mame/audio/carnival.c...
Compiling src/mame/audio/depthch.c...
Compiling src/mame/audio/invinco.c...
Compiling src/mame/audio/pulsar.c...
Compiling src/mame/audio/segasnd.c...
Compiling src/mame/video/segaic16.c...
Compiling src/mame/video/sega16sp.c...
Compiling src/mame/video/segaic24.c...
src/mame/video/segaic16.c:1853:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                UINT32 *src = (UINT32 *)info->roadram;
                              ^~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/segaic16.c:1854:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                UINT32 *dst = (UINT32 *)info->buffer;
                              ^~~~~~~~~~~~~~~~~~~~~~
src/mame/video/segaic16.c:2004:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                UINT32 *src = (UINT32 *)info->rotateram;
                              ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/segaic16.c:2005:17: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                UINT32 *dst = (UINT32 *)info->buffer;
                              ^~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/gdrom.c...
4 warnings generated.
Compiling src/mame/drivers/bloodbro.c...
Compiling src/mame/video/bloodbro.c...
Compiling src/mame/drivers/cabal.c...
Compiling src/mame/video/cabal.c...
Compiling src/mame/drivers/cshooter.c...
Compiling src/mame/drivers/dcon.c...
Compiling src/mame/video/dcon.c...
Compiling src/mame/drivers/deadang.c...
Compiling src/mame/video/deadang.c...
src/mame/drivers/dcon.c:379: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/dynduke.c...
src/mame/video/deadang.c:42:24: 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 *bgMap = (const UINT16 *)memregion("gfx6")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/deadang.c:49:24: 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 *bgMap = (const UINT16 *)memregion("gfx7")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/video/dynduke.c...
Compiling src/mame/drivers/feversoc.c...
Compiling src/mame/drivers/goal92.c...
Compiling src/mame/video/goal92.c...
Compiling src/mame/drivers/goodejan.c...
Compiling src/mame/drivers/kncljoe.c...
Compiling src/mame/video/kncljoe.c...
Compiling src/mame/drivers/legionna.c...
Compiling src/mame/video/legionna.c...
Compiling src/mame/drivers/mustache.c...
Compiling src/mame/video/mustache.c...
src/mame/drivers/legionna.c:2394: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/panicr.c...
Compiling src/mame/drivers/raiden.c...
Compiling src/mame/video/raiden.c...
1 warning generated.
Compiling src/mame/drivers/raiden2.c...
src/mame/drivers/raiden.c:578: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/raiden.c:590:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        RAM = (UINT16 *)memregion("sub")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/r2crypt.c...
Compiling src/mame/drivers/r2dx_v33.c...
2 warnings generated.
Compiling src/mame/drivers/seibuspi.c...
src/mame/machine/r2crypt.c:223:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *data = (UINT32 *)machine.root_device().memregion("gfx3")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/r2crypt.c:243:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *data = (UINT32 *)machine.root_device().memregion("gfx3")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
src/mame/drivers/seibuspi.c:1971: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 *)memregion("gfx3")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/seibuspi.c...
Compiling src/mame/video/seibuspi.c...
Compiling src/mame/drivers/sengokmj.c...
Compiling src/mame/drivers/stfight.c...
Compiling src/mame/machine/stfight.c...
1 warning generated.
Compiling src/mame/video/stfight.c...
Compiling src/mame/drivers/toki.c...
Compiling src/mame/video/toki.c...
Compiling src/mame/drivers/wiz.c...
Compiling src/mame/video/wiz.c...
src/mame/drivers/toki.c:847:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *prgrom = (UINT16*)memregion("maincpu")->base();
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/seicop.c...
1 warning generated.
Compiling src/mame/machine/spisprit.c...
Compiling src/mame/audio/seibu.c...
Compiling src/mame/video/sei_crtc.c...
Compiling src/mame/drivers/aleck64.c...
Compiling src/mame/machine/n64.c...
Compiling src/mame/video/n64.c...
Compiling src/mame/video/rdpblend.c...
In file included from src/mame/video/n64.c:28:
src/mame/video/n64.h:476:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTMEM16() { return (UINT16*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:477:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32*     GetTMEM32() { return (UINT32*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:478:34: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTLUT() { return (UINT16*)(m_tmem + 0x800); }
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/rdpspn16.c...
In file included from src/mame/machine/n64.c:8:
src/mame/video/n64.h:476:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTMEM16() { return (UINT16*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:477:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32*     GetTMEM32() { return (UINT32*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:478:34: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTLUT() { return (UINT16*)(m_tmem + 0x800); }
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/n64.c:114:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *cart = (UINT32*)machine().root_device().memregion("user2")->base();
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/n64.c:1478:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                cart16 = (UINT16*)machine().root_device().memregion("ddipl")->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/n64.c:1483:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                cart16 = (UINT16*)machine().root_device().memregion("user2")->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/rdpspn16.c:3:
src/mame/video/n64.h:476:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTMEM16() { return (UINT16*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:477:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32*     GetTMEM32() { return (UINT32*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:478:34: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTLUT() { return (UINT16*)(m_tmem + 0x800); }
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/mame/video/rdpblend.c:3:
src/mame/video/n64.h:476:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTMEM16() { return (UINT16*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:477:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32*     GetTMEM32() { return (UINT32*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:478:34: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTLUT() { return (UINT16*)(m_tmem + 0x800); }
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
Compiling src/mame/video/rdptpipe.c...
6 warnings generated.
3 warnings generated.
Compiling src/mame/drivers/hanaawas.c...
Compiling src/mame/video/hanaawas.c...
3 warnings generated.
Compiling src/mame/drivers/jclub2.c...
In file included from src/mame/video/rdptpipe.c:3:
src/mame/video/n64.h:476:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTMEM16() { return (UINT16*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:477:36: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32*     GetTMEM32() { return (UINT32*)m_tmem; }
                                                 ^~~~~~~~~~~~~~~
src/mame/video/n64.h:478:34: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16*     GetTLUT() { return (UINT16*)(m_tmem + 0x800); }
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:820:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)userdata->m_tmem)[taddr];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:821:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        c = ((UINT16*)(userdata->m_tmem + 0x800))[(c >> 8) << 2];
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:841:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)userdata->m_tmem)[taddr];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:842:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        c = ((UINT16*)(userdata->m_tmem + 0x800))[(c >> 8) << 2];
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:857:28: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        return Expand16To32Table[((UINT16*)userdata->m_tmem)[taddr]];
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:871:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *tc = ((UINT32*)userdata->m_tmem);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:877:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        c = ((UINT16*)(userdata->m_tmem + 0x800))[(c >> 24) << 2];
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:893:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *tc = ((UINT32*)userdata->m_tmem);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:899:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        c = ((UINT16*)(userdata->m_tmem + 0x800))[(c >> 24) << 2];
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:915:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT32 c = ((UINT16*)userdata->m_tmem)[taddr];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:919:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        c = ((UINT16*)userdata->m_tmem)[taddr | 0x400];
             ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:930:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *tc = ((UINT16*)userdata->m_tmem);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:969:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[((tpal << 4) | p) << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:992:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[((tpal << 4) | p) << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1025:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[p << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1047:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[p << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1079:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[((tpal << 4) | p) << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1101:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[((tpal << 4) | p) << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1138:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[p << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1160:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 c = ((UINT16*)(userdata->m_tmem + 0x800))[p << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1191:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *tc = ((UINT16*)userdata->m_tmem);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1197:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        c = ((UINT16*)(userdata->m_tmem + 0x800))[(c >> 8) << 2];
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1213:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *tc = ((UINT16*)userdata->m_tmem);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1219:7: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        c = ((UINT16*)(userdata->m_tmem + 0x800))[(c >> 8) << 2];
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1230:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *tc = ((UINT16*)userdata->m_tmem);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1256:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 k = ((UINT16*)(userdata->m_tmem + 0x800))[((tpal << 4) | c) << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1279:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 k = ((UINT16*)(userdata->m_tmem + 0x800))[((tpal << 4) | c) << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1316:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 k = ((UINT16*)(userdata->m_tmem + 0x800))[c << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/rdptpipe.c:1338:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 k = ((UINT16*)(userdata->m_tmem + 0x800))[c << 2];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 warnings generated.
Compiling src/mame/drivers/macs.c...
Compiling src/mame/drivers/seta.c...
Compiling src/mame/video/seta.c...
Compiling src/mame/drivers/seta2.c...
Compiling src/mame/video/seta2.c...
src/mame/drivers/seta2.c:2472:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *main_cpu = (UINT32 *) memregion("maincpu")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta2.c:2473:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *sub_cpu  = (UINT16 *) memregion("sub")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta2.c:2483:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *main_cpu = (UINT32 *) memregion("maincpu")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta2.c:2484:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *sub_cpu  = (UINT16 *) memregion("sub")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta2.c:2496:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *main_cpu = (UINT32 *) memregion("maincpu")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta2.c:2497:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *sub_cpu  = (UINT16 *) memregion("sub")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta.c:10754: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 *) memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta.c:10814: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 *) memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta.c:10865: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 *) memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/seta.c:10882: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/speedatk.c...
Compiling src/mame/video/speedatk.c...
Compiling src/mame/drivers/speglsht.c...
Compiling src/mame/drivers/srmp2.c...
6 warnings generated.
Compiling src/mame/video/srmp2.c...
Compiling src/mame/drivers/srmp6.c...
Compiling src/mame/drivers/srmp5.c...
Compiling src/mame/drivers/ssv.c...
4 warnings generated.
Compiling src/mame/video/ssv.c...
src/mame/drivers/srmp6.c:335:31: warning: cast from 'const UINT8 *' (aka 'const unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        membank("bank1")->set_base((UINT16 *)(rom + (data & 0x0f)*0x200000));
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/st0020.c...
src/mame/drivers/ssv.c:2532:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *dspprg = (UINT32 *)memregion("dspprg")->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/ssv.c:2533:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *dspdata = (UINT16 *)memregion("dspdata")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/st0016.c...
Compiling src/mame/video/seta001.c...
Compiling src/mame/video/st0016.c...
Compiling src/mame/drivers/nyny.c...
Compiling src/mame/drivers/r2dtank.c...
Compiling src/mame/drivers/sigmab52.c...
2 warnings generated.
Compiling src/mame/drivers/sigmab98.c...
src/mame/drivers/sigmab52.c:569: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*)memregion("gfx1")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/spiders.c...
1 warning generated.
Compiling src/mame/audio/spiders.c...
Compiling src/mame/drivers/sub.c...
Compiling src/mame/drivers/bbusters.c...
Compiling src/mame/video/bbusters.c...
Compiling src/mame/drivers/dmndrby.c...
Compiling src/mame/drivers/hng64.c...
Compiling src/mame/video/hng64.c...
Compiling src/mame/drivers/lasso.c...
Compiling src/mame/video/lasso.c...
src/mame/video/hng64.c:2049:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16* threeDRoms = (UINT16*)(machine.root_device().memregion("verts")->base());
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/mainsnk.c...
Compiling src/mame/video/mainsnk.c...
Compiling src/mame/drivers/munchmo.c...
1 warning generated.
Compiling src/mame/video/munchmo.c...
Compiling src/mame/drivers/prehisle.c...
Compiling src/mame/video/prehisle.c...
Compiling src/mame/drivers/snk6502.c...
Compiling src/mame/audio/snk6502.c...
Compiling src/mame/video/snk6502.c...
Compiling src/mame/drivers/snk.c...
Compiling src/mame/drivers/snk68.c...
Compiling src/mame/video/snk.c...
Compiling src/mame/video/snk68.c...
Compiling src/mame/drivers/zn.c...
Compiling src/mame/machine/zndip.c...
Compiling src/mame/machine/znsec.c...
src/mame/drivers/zn.c:155:5: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        *( (UINT16 *)( (UINT8 *)p_n_psxram + WORD_XOR_LE( n_address ) ) ) = n_data;
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/astinvad.c...
Compiling src/mame/drivers/berzerk.c...
Compiling src/mame/drivers/cliffhgr.c...
Compiling src/mame/audio/cliffhgr.c...
1 warning generated.
Compiling src/mame/drivers/mazerbla.c...
Compiling src/mame/drivers/supdrapo.c...
Compiling src/mame/drivers/lastfght.c...
Compiling src/mame/drivers/subsino2.c...
Compiling src/mame/machine/subsino.c...
src/mame/drivers/lastfght.c:607: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*)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/arabian.c...
src/mame/drivers/subsino2.c:2382: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*)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/arabian.c...
Compiling src/mame/drivers/dai3wksi.c...
Compiling src/mame/drivers/ikki.c...
1 warning generated.
Compiling src/mame/video/ikki.c...
Compiling src/mame/drivers/kangaroo.c...
Compiling src/mame/video/kangaroo.c...
Compiling src/mame/drivers/markham.c...
Compiling src/mame/video/markham.c...
Compiling src/mame/drivers/route16.c...
Compiling src/mame/video/route16.c...
Compiling src/mame/drivers/shanghai.c...
Compiling src/mame/drivers/shangha3.c...
Compiling src/mame/video/shangha3.c...
Compiling src/mame/drivers/strnskil.c...
Compiling src/mame/video/strnskil.c...
Compiling src/mame/drivers/tonton.c...
Compiling src/mame/drivers/go2000.c...
Compiling src/mame/drivers/goindol.c...
Compiling src/mame/video/goindol.c...
Compiling src/mame/drivers/suna8.c...
Compiling src/mame/audio/suna8.c...
Compiling src/mame/video/suna8.c...
Compiling src/mame/drivers/suna16.c...
Compiling src/mame/video/suna16.c...
Compiling src/mame/drivers/2mindril.c...
Compiling src/mame/drivers/40love.c...
Compiling src/mame/video/40love.c...
Compiling src/mame/drivers/arkanoid.c...
Compiling src/mame/machine/arkanoid.c...
Compiling src/mame/video/arkanoid.c...
Compiling src/mame/drivers/ashnojoe.c...
Compiling src/mame/video/ashnojoe.c...
Compiling src/mame/drivers/asuka.c...
Compiling src/mame/machine/bonzeadv.c...
Compiling src/mame/video/asuka.c...
Compiling src/mame/drivers/bigevglf.c...
Compiling src/mame/machine/bigevglf.c...
Compiling src/mame/video/bigevglf.c...
Compiling src/mame/drivers/bking.c...
Compiling src/mame/video/bking.c...
Compiling src/mame/drivers/bublbobl.c...
Compiling src/mame/machine/bublbobl.c...
Compiling src/mame/video/bublbobl.c...
Compiling src/mame/machine/buggychl.c...
Compiling src/mame/video/buggychl.c...
src/mame/video/bublbobl.c:40:8: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                if (*(UINT32 *)(&m_objectram[offs]) == 0)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/cchance.c...
Compiling src/mame/drivers/chaknpop.c...
Compiling src/mame/machine/chaknpop.c...
Compiling src/mame/video/chaknpop.c...
Compiling src/mame/drivers/champbwl.c...
Compiling src/mame/video/changela.c...
Compiling src/mame/drivers/crbaloon.c...
Compiling src/mame/video/crbaloon.c...
Compiling src/mame/audio/crbaloon.c...
Compiling src/mame/drivers/cyclemb.c...
Compiling src/mame/video/darius.c...
Compiling src/mame/drivers/darkmist.c...
Compiling src/mame/video/darkmist.c...
Compiling src/mame/drivers/exzisus.c...
Compiling src/mame/video/exzisus.c...
Compiling src/mame/drivers/fgoal.c...
Compiling src/mame/video/fgoal.c...
Compiling src/mame/drivers/flstory.c...
src/mame/video/exzisus.c:87:11: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                if ( !(*(UINT32 *)(&m_objectram0[offs])) )
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/exzisus.c:157:11: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                if ( !(*(UINT32 *)(&m_objectram1[offs])) )
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/machine/flstory.c...
Compiling src/mame/video/flstory.c...
Compiling src/mame/drivers/galastrm.c...
Compiling src/mame/video/galastrm.c...
Compiling src/mame/drivers/gladiatr.c...
Compiling src/mame/video/gladiatr.c...
Compiling src/mame/audio/grchamp.c...
src/mame/video/galastrm.c:88:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/grchamp.c...
Compiling src/mame/drivers/groundfx.c...
Compiling src/mame/video/groundfx.c...
Compiling src/mame/drivers/gsword.c...
Compiling src/mame/machine/tait8741.c...
src/mame/video/groundfx.c:65:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/gsword.c...
Compiling src/mame/drivers/gunbustr.c...
Compiling src/mame/video/gunbustr.c...
Compiling src/mame/drivers/halleys.c...
Compiling src/mame/drivers/invqix.c...
src/mame/video/gunbustr.c:61:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/halleys.c:993:6: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                        WARP_LINE_COMMON
                                        ^~~~~~~~~~~~~~~~
src/mame/drivers/halleys.c:955:19: note: expanded from macro 'WARP_LINE_COMMON'
                        while (ecx) { *(UINT32*)(dst_ptr+ecx) = eax; ecx += 2; } \
                                       ^~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/mame/drivers/halleys.c:998:5: warning: cast from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
                                WARP_LINE_COMMON
                                ^~~~~~~~~~~~~~~~
src/mame/drivers/halleys.c:955:19: note: expanded from macro 'WARP_LINE_COMMON'
                        while (ecx) { *(UINT32*)(dst_ptr+ecx) = eax; ecx += 2; } \
                                       ^~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/jollyjgr.c...
src/mame/drivers/halleys.c:1462:8: warning: cast from 'pixel_t *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 2 to 4 [-Wcast-align]
        edi = (UINT32*)&bitmap.pix16(VIS_MINY, VIS_MINX + CLIP_W);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/halleys.c:2175:73: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        for (i=0; i<MAX_LAYERS; buf+=SCREEN_BYTESIZE, i++) m_render_layer[i] = (UINT16*)buf;
                                                                               ^~~~~~~~~~~~
Compiling src/mame/drivers/ksayakyu.c...
Compiling src/mame/video/ksayakyu.c...
Compiling src/mame/drivers/lgp.c...
4 warnings generated.
Compiling src/mame/drivers/lkage.c...
Compiling src/mame/machine/lkage.c...
Compiling src/mame/video/lkage.c...
Compiling src/mame/drivers/lsasquad.c...
Compiling src/mame/machine/lsasquad.c...
Compiling src/mame/video/lsasquad.c...
Compiling src/mame/drivers/marinedt.c...
Compiling src/mame/drivers/mexico86.c...
Compiling src/mame/machine/mexico86.c...
Compiling src/mame/video/mexico86.c...
Compiling src/mame/drivers/minivadr.c...
src/mame/video/mexico86.c:45:8: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                if (*(UINT32 *)(&m_objectram[offs]) == 0)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/mexico86.c:112:8: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                if (*(UINT32*)(m_objectram + offs) == 0)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/missb2.c...
2 warnings generated.
Compiling src/mame/drivers/mlanding.c...
Compiling src/mame/drivers/msisaac.c...
Compiling src/mame/video/msisaac.c...
src/mame/drivers/missb2.c:87:8: warning: cast from 'unsigned char *' to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                if (*(UINT32 *)(&m_objectram[offs]) == 0)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/ninjaw.c...
Compiling src/mame/video/ninjaw.c...
1 warning generated.
Compiling src/mame/drivers/nycaptor.c...
Compiling src/mame/machine/nycaptor.c...
Compiling src/mame/video/nycaptor.c...
Compiling src/mame/drivers/opwolf.c...
Compiling src/mame/machine/opwolf.c...
Compiling src/mame/video/opwolf.c...
Compiling src/mame/drivers/othunder.c...
src/mame/machine/opwolf.c:434:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        UINT16* rom = (UINT16*)memregion("maincpu")->base();
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/opwolf.c:963: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*)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/opwolf.c:979: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*)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/othunder.c...
Compiling src/mame/drivers/pitnrun.c...
2 warnings generated.
Compiling src/mame/machine/pitnrun.c...
src/mame/video/othunder.c:67:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/video/pitnrun.c...
Compiling src/mame/machine/qix.c...
Compiling src/mame/audio/qix.c...
Compiling src/mame/video/qix.c...
Compiling src/mame/drivers/rainbow.c...
Compiling src/mame/machine/rainbow.c...
Compiling src/mame/video/rainbow.c...
Compiling src/mame/drivers/rastan.c...
Compiling src/mame/video/rastan.c...
Compiling src/mame/drivers/retofinv.c...
Compiling src/mame/machine/retofinv.c...
Compiling src/mame/video/retofinv.c...
Compiling src/mame/drivers/rollrace.c...
Compiling src/mame/video/rollrace.c...
Compiling src/mame/drivers/sbowling.c...
Compiling src/mame/drivers/slapshot.c...
Compiling src/mame/video/slapshot.c...
Compiling src/mame/drivers/ssrj.c...
Compiling src/mame/video/ssrj.c...
Compiling src/mame/video/superchs.c...
Compiling src/mame/drivers/superqix.c...
Compiling src/mame/video/superqix.c...
src/mame/video/superchs.c:59:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/taito_b.c...
Compiling src/mame/video/taito_b.c...
Compiling src/mame/drivers/taito_f2.c...
Compiling src/mame/video/taito_f2.c...
Compiling src/mame/drivers/taito_f3.c...
Compiling src/mame/video/taito_f3.c...
src/mame/drivers/taito_f3.c:124: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 *)memregion("audiocpu")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/taito_f3.c:3718:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *RAM = (UINT32 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/taito_f3.c:3863:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *RAM = (UINT32 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/taito_f3.c:3906: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/audio/taito_en.c...
Compiling src/mame/drivers/taito_h.c...
4 warnings generated.
Compiling src/mame/video/taito_h.c...
Compiling src/mame/drivers/taito_l.c...
Compiling src/mame/video/taito_l.c...
src/mame/audio/taito_en.c:224: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 *)machine.root_device().memregion("audiocpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/taito_x.c...
1 warning generated.
Compiling src/mame/machine/cchip.c...
Compiling src/mame/video/taito_z.c...
src/mame/video/taito_z.c:148:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/taito_z.c:242:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/taito_z.c:427:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/taito_z.c:522:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/taito_z.c:626:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/taito_z.c:720:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/taito_o.c...
6 warnings generated.
Compiling src/mame/video/taito_o.c...
Compiling src/mame/drivers/taitoair.c...
Compiling src/mame/video/taitoair.c...
Compiling src/mame/drivers/taitogn.c...
Compiling src/mame/video/taitojc.c...
Compiling src/mame/drivers/taitopjc.c...
Compiling src/mame/drivers/taitosj.c...
Compiling src/mame/machine/taitosj.c...
Compiling src/mame/video/taitosj.c...
Compiling src/mame/drivers/taitotz.c...
Compiling src/mame/drivers/taitowlf.c...
src/mame/drivers/taitotz.c:2616: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/taitotz.c:2624: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*)memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/tnzs.c...
Compiling src/mame/machine/tnzs.c...
Compiling src/mame/video/tnzs.c...
2 warnings generated.
Compiling src/mame/video/topspeed.c...
Compiling src/mame/drivers/tsamurai.c...
Compiling src/mame/video/tsamurai.c...
Compiling src/mame/video/undrfire.c...
Compiling src/mame/drivers/volfied.c...
Compiling src/mame/machine/volfied.c...
Compiling src/mame/video/volfied.c...
src/mame/video/undrfire.c:69:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/undrfire.c:212:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *spritemap = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/warriorb.c...
2 warnings generated.
Compiling src/mame/video/warriorb.c...
Compiling src/mame/drivers/wgp.c...
Compiling src/mame/video/wgp.c...
src/mame/drivers/wgp.c:1244: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 *)memregion("sub")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/audio/taitosnd.c...
Compiling src/mame/audio/t5182.c...
1 warning generated.
Compiling src/mame/machine/taitoio.c...
Compiling src/mame/video/taitoic.c...
Compiling src/mame/audio/taito_zm.c...
Compiling src/mame/drivers/lockon.c...
src/mame/video/taitoic.c:4147:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *roadgfx = (UINT16 *)device->machine().root_device().memregion(tc0150rod->gfx_region)->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/lockon.c...
Compiling src/mame/machine/tatsumi.c...
src/mame/video/lockon.c:431:31: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        const UINT16 *const chklut = (UINT16*)memregion("user2")->base();
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/tatsumi.c...
1 warning generated.
Compiling src/mame/machine/tx1.c...
src/mame/machine/tatsumi.c:296:20: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        const UINT16* rom=(UINT16*)memregion("sub")->base();
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/audio/tx1.c...
1 warning generated.
Compiling src/mame/video/tx1.c...
src/mame/machine/tx1.c:424:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        const UINT16 *prom = (UINT16*)state->memregion("au_data")->base() + (0x8000 >> 1);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/tx1.c:482:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                                        UINT16 *romdata = (UINT16*)machine.root_device().memregion("au_data")->base();
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/tx1.c:659:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        UINT16 *romdata = (UINT16*)memregion("au_data")->base();
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/tx1.c:806:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        math.cpulatch = *(UINT16*)((UINT8*)memregion("math_cpu")->base() + 0x04000 + 0x1000 + offset*2);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/tx1.c:986:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        const UINT16 *prom = (UINT16*)state->memregion("au_data")->base() + (0x8000 >> 1);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/tx1.c:1019:23: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                                UINT16 *romdata = (UINT16*)machine.root_device().memregion("au_data")->base();
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/tx1.c:1135:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *romdata = (UINT16*)memregion("au_data")->base();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/tx1.c:1268:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        math.cpulatch = *(UINT16*)((UINT8*)memregion("math_cpu")->base() + 0x04000 + 0x1000 + offset*2);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/kickgoal.c...
8 warnings generated.
Compiling src/mame/video/kickgoal.c...
Compiling src/mame/drivers/littlerb.c...
Compiling src/mame/drivers/rltennis.c...
Compiling src/mame/video/rltennis.c...
Compiling src/mame/drivers/speedspn.c...
Compiling src/mame/video/speedspn.c...
Compiling src/mame/drivers/wheelfir.c...
Compiling src/mame/drivers/ambush.c...
Compiling src/mame/video/ambush.c...
src/mame/drivers/wheelfir.c:781: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/wheelfir.c:860: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/holeland.c...
Compiling src/mame/video/holeland.c...
2 warnings generated.
Compiling src/mame/drivers/sauro.c...
Compiling src/mame/video/sauro.c...
Compiling src/mame/video/speedbal.c...
Compiling src/mame/drivers/battlane.c...
Compiling src/mame/video/battlane.c...
Compiling src/mame/drivers/blockout.c...
Compiling src/mame/video/blockout.c...
Compiling src/mame/drivers/bogeyman.c...
Compiling src/mame/video/bogeyman.c...
Compiling src/mame/drivers/chinagat.c...
Compiling src/mame/drivers/ddragon.c...
Compiling src/mame/video/ddragon.c...
Compiling src/mame/drivers/ddragon3.c...
Compiling src/mame/video/ddragon3.c...
Compiling src/mame/drivers/dogfgt.c...
Compiling src/mame/video/dogfgt.c...
Compiling src/mame/drivers/matmania.c...
Compiling src/mame/machine/maniach.c...
Compiling src/mame/video/matmania.c...
Compiling src/mame/drivers/mystston.c...
Compiling src/mame/video/mystston.c...
Compiling src/mame/drivers/renegade.c...
Compiling src/mame/video/renegade.c...
Compiling src/mame/drivers/scregg.c...
Compiling src/mame/drivers/shadfrce.c...
Compiling src/mame/video/shadfrce.c...
Compiling src/mame/drivers/spdodgeb.c...
Compiling src/mame/video/spdodgeb.c...
Compiling src/mame/drivers/ssozumo.c...
Compiling src/mame/video/ssozumo.c...
Compiling src/mame/drivers/tagteam.c...
Compiling src/mame/video/tagteam.c...
Compiling src/mame/drivers/vball.c...
Compiling src/mame/drivers/wwfsstar.c...
Compiling src/mame/video/wwfsstar.c...
Compiling src/mame/video/vball.c...
Compiling src/mame/drivers/wwfwfest.c...
Compiling src/mame/video/wwfwfest.c...
Compiling src/mame/video/xain.c...
Compiling src/mame/drivers/xain.c...
Compiling src/mame/video/tecmo_spr.c...
Compiling src/mame/drivers/bombjack.c...
Compiling src/mame/video/bombjack.c...
Compiling src/mame/drivers/gaiden.c...
Compiling src/mame/video/gaiden.c...
Compiling src/mame/drivers/lvcards.c...
Compiling src/mame/video/lvcards.c...
Compiling src/mame/drivers/pbaction.c...
Compiling src/mame/video/pbaction.c...
Compiling src/mame/drivers/senjyo.c...
Compiling src/mame/audio/senjyo.c...
Compiling src/mame/video/senjyo.c...
Compiling src/mame/drivers/solomon.c...
Compiling src/mame/video/solomon.c...
Compiling src/mame/drivers/spbactn.c...
Compiling src/mame/video/spbactn.c...
Compiling src/mame/drivers/tbowl.c...
Compiling src/mame/video/tbowl.c...
Compiling src/mame/drivers/tecmo.c...
Compiling src/mame/video/tecmo.c...
Compiling src/mame/drivers/tecmo16.c...
Compiling src/mame/video/tecmo16.c...
Compiling src/mame/drivers/tecmosys.c...
Compiling src/mame/machine/tecmosys.c...
Compiling src/mame/video/tecmosys.c...
Compiling src/mame/video/tehkanwc.c...
Compiling src/mame/drivers/wc90.c...
Compiling src/mame/video/wc90.c...
Compiling src/mame/drivers/wc90b.c...
Compiling src/mame/video/wc90b.c...
Compiling src/mame/drivers/thepit.c...
Compiling src/mame/video/thepit.c...
Compiling src/mame/drivers/timelimt.c...
Compiling src/mame/video/timelimt.c...
Compiling src/mame/drivers/mjsister.c...
Compiling src/mame/drivers/slapfght.c...
Compiling src/mame/machine/slapfght.c...
Compiling src/mame/video/slapfght.c...
Compiling src/mame/drivers/snowbros.c...
Compiling src/mame/video/kan_pand.c...
Compiling src/mame/video/kan_panb.c...
Compiling src/mame/drivers/toaplan1.c...
src/mame/drivers/snowbros.c:1497: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*)memregion("user1")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/snowbros.c:1506: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*)memregion("user1")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/toaplan1.c...
Compiling src/mame/video/toaplan1.c...
2 warnings generated.
Compiling src/mame/drivers/toaplan2.c...
Compiling src/mame/video/toaplan2.c...
Compiling src/mame/video/gp9001.c...
Compiling src/mame/drivers/twincobr.c...
src/mame/drivers/toaplan2.c:435: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 *)(memregion("maincpu")->base());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/twincobr.c...
Compiling src/mame/video/twincobr.c...
Compiling src/mame/drivers/wardner.c...
Compiling src/mame/drivers/beezer.c...
Compiling src/mame/machine/beezer.c...
1 warning generated.
Compiling src/mame/video/beezer.c...
Compiling src/mame/audio/beezer.c...
Compiling src/mame/drivers/drgnmst.c...
Compiling src/mame/video/drgnmst.c...
Compiling src/mame/drivers/silkroad.c...
Compiling src/mame/video/silkroad.c...
src/mame/drivers/drgnmst.c:481:27: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *drgnmst_PICROM = (UINT16 *)memregion("audiocpu")->base();
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/unico.c...
1 warning generated.
Compiling src/mame/video/unico.c...
Compiling src/mame/drivers/cheekyms.c...
Compiling src/mame/video/cheekyms.c...
Compiling src/mame/drivers/cosmic.c...
Compiling src/mame/video/cosmic.c...
Compiling src/mame/drivers/docastle.c...
Compiling src/mame/machine/docastle.c...
Compiling src/mame/video/docastle.c...
Compiling src/mame/drivers/ladybug.c...
Compiling src/mame/video/ladybug.c...
Compiling src/mame/drivers/mrdo.c...
Compiling src/mame/video/mrdo.c...
Compiling src/mame/drivers/redclash.c...
Compiling src/mame/video/redclash.c...
Compiling src/mame/drivers/superdq.c...
Compiling src/mame/drivers/mouser.c...
Compiling src/mame/video/mouser.c...
Compiling src/mame/drivers/ninjakd2.c...
Compiling src/mame/video/ninjakd2.c...
Compiling src/mame/drivers/nova2001.c...
Compiling src/mame/video/nova2001.c...
Compiling src/mame/drivers/xxmissio.c...
Compiling src/mame/video/xxmissio.c...
Compiling src/mame/drivers/bagman.c...
Compiling src/mame/machine/bagman.c...
Compiling src/mame/video/bagman.c...
Compiling src/mame/drivers/tankbust.c...
Compiling src/mame/video/tankbust.c...
Compiling src/mame/drivers/witch.c...
Compiling src/mame/drivers/looping.c...
Compiling src/mame/drivers/spcforce.c...
Compiling src/mame/video/spcforce.c...
Compiling src/mame/drivers/suprridr.c...
Compiling src/mame/video/suprridr.c...
Compiling src/mame/video/vsystem_spr.c...
Compiling src/mame/video/vsystem_spr2.c...
Compiling src/mame/drivers/aerofgt.c...
Compiling src/mame/video/aerofgt.c...
Compiling src/mame/drivers/crshrace.c...
Compiling src/mame/video/crshrace.c...
Compiling src/mame/drivers/f1gp.c...
Compiling src/mame/video/f1gp.c...
Compiling src/mame/drivers/fromance.c...
src/mame/video/f1gp.c:53:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_zoomdata = (UINT16 *)memregion("gfx4")->base();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/f1gp.c:67:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_zoomdata = (UINT16 *)memregion("gfx4")->base();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/video/fromance.c...
Compiling src/mame/drivers/fromanc2.c...
Compiling src/mame/video/fromanc2.c...
src/mame/video/fromance.c:309:35: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_spr_old->turbofrc_draw_sprites((UINT16*)sram, m_spriteram.bytes(), 0, machine(), bitmap, cliprect, 0);
                                         ^~~~~~~~~~~~~
src/mame/video/fromance.c:310:35: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_spr_old->turbofrc_draw_sprites((UINT16*)sram, m_spriteram.bytes(), 0, machine(), bitmap, cliprect, 1);
                                         ^~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/drivers/gstriker.c...
Compiling src/mame/video/gstriker.c...
Compiling src/mame/drivers/inufuku.c...
Compiling src/mame/video/inufuku.c...
Compiling src/mame/drivers/ojankohs.c...
Compiling src/mame/video/ojankohs.c...
Compiling src/mame/drivers/pipedrm.c...
Compiling src/mame/drivers/rpunch.c...
Compiling src/mame/video/rpunch.c...
Compiling src/mame/drivers/suprslam.c...
Compiling src/mame/video/suprslam.c...
Compiling src/mame/drivers/tail2nos.c...
Compiling src/mame/video/tail2nos.c...
Compiling src/mame/drivers/taotaido.c...
Compiling src/mame/video/taotaido.c...
src/mame/video/tail2nos.c:61:15: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_zoomdata = (UINT16 *)memregion("gfx3")->base();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/mame/drivers/welltris.c...
Compiling src/mame/video/welltris.c...
Compiling src/mame/drivers/nmg5.c...
Compiling src/mame/drivers/paradise.c...
Compiling src/mame/video/paradise.c...
Compiling src/mame/drivers/yunsung8.c...
Compiling src/mame/video/yunsung8.c...
Compiling src/mame/drivers/yunsun16.c...
Compiling src/mame/video/yunsun16.c...
Compiling src/mame/drivers/laserbat.c...
Compiling src/mame/audio/laserbat.c...
Compiling src/mame/drivers/seabattl.c...
Compiling src/mame/video/zac2650.c...
Compiling src/mame/drivers/zaccaria.c...
Compiling src/mame/video/zaccaria.c...
Compiling src/mame/drivers/1945kiii.c...
Compiling src/mame/drivers/39in1.c...
Compiling src/mame/drivers/3do.c...
Compiling src/mame/machine/3do.c...
Compiling src/mame/drivers/3x3puzzl.c...
Compiling src/mame/drivers/4enraya.c...
Compiling src/mame/video/4enraya.c...
Compiling src/mame/drivers/5clown.c...
Compiling src/mame/drivers/acesp.c...
Compiling src/mame/drivers/adp.c...
Compiling src/mame/video/ampoker2.c...
Compiling src/mame/drivers/amspdwy.c...
Compiling src/mame/video/amspdwy.c...
Compiling src/mame/drivers/artmagic.c...
Compiling src/mame/video/artmagic.c...
Compiling src/mame/drivers/astrafr.c...
Compiling src/mame/drivers/astrocorp.c...
src/mame/drivers/astrafr.c:269:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_cpuregion = (UINT32*)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/astrafr.c:273:21: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        m_slavecpuregion = (UINT32*)memregion( "slavecpu" )->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/astrafr.c:2117:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        astra_addresslines( (UINT16*)memregion( "maincpu" )->base(), memregion( "maincpu" )->bytes(), 0 );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/astrafr.c:2124:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        astra_addresslines( (UINT16*)memregion( "maincpu" )->base(), memregion( "maincpu" )->bytes(), 0 );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/astrafr.c:2125:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        astra_addresslines( (UINT16*)memregion( "slavecpu" )->base(), memregion( "slavecpu" )->bytes(), 0 );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/astrafr.c:2130:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        astra_addresslines( (UINT16*)memregion( "maincpu" )->base(), memregion( "maincpu" )->bytes(), 1 );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/astrafr.c:2135:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        astra_addresslines( (UINT16*)memregion( "maincpu" )->base(), memregion( "maincpu" )->bytes(), 1 );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/astrafr.c:2136:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        astra_addresslines( (UINT16*)memregion( "slavecpu" )->base(), memregion( "slavecpu" )->bytes(), 1 );
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/astropc.c...
src/mame/video/artmagic.c:43:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_blitter_base = (UINT16 *)memregion("gfx1")->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 warnings generated.
Compiling src/mame/drivers/atronic.c...
1 warning generated.
Compiling src/mame/drivers/attckufo.c...
Compiling src/mame/drivers/avt.c...
Compiling src/mame/drivers/aztarac.c...
Compiling src/mame/audio/aztarac.c...
Compiling src/mame/video/aztarac.c...
Compiling src/mame/drivers/belatra.c...
Compiling src/mame/drivers/bgt.c...
Compiling src/mame/drivers/bingoman.c...
Compiling src/mame/drivers/bingor.c...
Compiling src/mame/drivers/blitz.c...
Compiling src/mame/drivers/blitz68k.c...
Compiling src/mame/drivers/buster.c...
Compiling src/mame/drivers/calomega.c...
src/mame/drivers/blitz68k.c:2789: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2804: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2819: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2835: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2846: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2857: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2868: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2885: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2896: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/blitz68k.c:2907: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/calomega.c...
Compiling src/mame/drivers/carrera.c...
Compiling src/mame/drivers/castle.c...
10 warnings generated.
Compiling src/mame/drivers/cave.c...
Compiling src/mame/video/cave.c...
Compiling src/mame/drivers/cb2001.c...
Compiling src/mame/video/mcd212.c...
src/mame/drivers/cave.c:4622: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 *)memregion("maincpu")->base();
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/cave.c:935: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 *)(state->m_blit.baseaddr + state->m_blit.line_offset * y1);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/cave.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 *dest = (UINT16 *)(state->m_blit.baseaddr + state->m_blit.line_offset * y1);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/cave.c:1067:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *zbf = (UINT16 *)(state->m_blit.baseaddr_zbuf + state->m_blit.line_offset_zbuf * y1);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/cave.c:1180: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 *)(state->m_blit.baseaddr + state->m_blit.line_offset * y1);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/cave.c:1277: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 *)(state->m_blit.baseaddr + state->m_blit.line_offset * y1);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/cave.c:1279:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                UINT16 *zbf = (UINT16 *)(state->m_blit.baseaddr_zbuf + state->m_blit.line_offset_zbuf * y1);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/machine/cdi070.c...
6 warnings generated.
Compiling src/mame/machine/cdislave.c...
Compiling src/mame/machine/cdicdic.c...
Compiling src/mame/drivers/cesclass.c...
Compiling src/mame/drivers/chsuper.c...
1 warning generated.
Compiling src/mame/drivers/cidelsa.c...
Compiling src/mame/video/cidelsa.c...
Compiling src/mame/drivers/coinmstr.c...
Compiling src/mame/drivers/coinmvga.c...
Compiling src/mame/drivers/comebaby.c...
Compiling src/mame/drivers/cupidon.c...
Compiling src/mame/drivers/bntyhunt.c...
Compiling src/mame/drivers/coolpool.c...
Compiling src/mame/drivers/crystal.c...
Compiling src/mame/video/vrender0.c...
Compiling src/mame/drivers/cubeqst.c...
src/mame/drivers/crystal.c:380:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                        UINT32 *ptr = (UINT32*)(memregion("user1")->base() + m_Bank * 0x1000000);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/crystal.c:958: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*) memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/crystal.c:977: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*) memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/crystal.c:995: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*) memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/crystal.c:1013: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*) memregion("user1")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/vrender0.c:467:17: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                UINT32 *Pal = (UINT32*) (TEXTURE + 1024 * vr0->RenderState.PalOffset);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/vrender0.c:542:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        Quad.Tile = (UINT16*) (TEXTURE + 128 * vr0->RenderState.TileOffset);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
Compiling src/mame/drivers/cybertnk.c...
Compiling src/mame/drivers/dcheese.c...
2 warnings generated.
Compiling src/mame/video/dcheese.c...
src/mame/drivers/coolpool.c:1176:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("user1")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/coolpool.c:1200:8: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        rom = (UINT16 *)memregion("user2")->base();
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cybertnk.c:322:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        const UINT32 *sprrom = (UINT32*)screen.memregion(":spr_gfx")->base();
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/cybertnk.c:968:16: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
        UINT32 *spr = (UINT32*)memregion("spr_gfx")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/dcheese.c:30:22: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        const UINT16 *src = (UINT16 *)memregion("user1")->base();
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/drivers/dfruit.c...
1 warning generated.
Compiling src/mame/drivers/dgpix.c...
2 warnings generated.
Compiling src/mame/drivers/discoboy.c...
Compiling src/mame/drivers/dominob.c...
src/mame/drivers/dgpix.c:89: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 *)memregion("flash")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/dgpix.c:144:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        UINT16 *rom = (UINT16 *)memregion("flash")->base();
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/drivers/dorachan.c...
Compiling src/mame/drivers/dreamwld.c...
src/mame/drivers/dreamwld.c:180: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 *)memregion("spritelut")->base();
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/dribling.c...
Compiling src/mame/video/dribling.c...
Compiling src/mame/drivers/drw80pkr.c...
Compiling src/mame/drivers/dwarfd.c...
1 warning generated.
Compiling src/mame/drivers/dynadice.c...
Compiling src/mame/drivers/ecoinf1.c...
Compiling src/mame/drivers/ecoinf2.c...
Compiling src/mame/drivers/epos.c...
Compiling src/mame/video/epos.c...
Compiling src/mame/drivers/esd16.c...
Compiling src/mame/video/esd16.c...
Compiling src/mame/drivers/esh.c...
Compiling src/mame/drivers/esripsys.c...
Compiling src/mame/video/esripsys.c...
Compiling src/mame/drivers/ettrivia.c...
Compiling src/mame/drivers/extrema.c...
Compiling src/mame/drivers/flipjack.c...
Compiling src/mame/drivers/flower.c...
Compiling src/mame/audio/flower.c...
Compiling src/mame/video/flower.c...
Compiling src/mame/drivers/fresh.c...
Compiling src/mame/drivers/freekick.c...
Compiling src/mame/video/freekick.c...
Compiling src/mame/drivers/funkball.c...
Compiling src/mame/drivers/gambl186.c...
Compiling src/mame/drivers/galgame.c...
Compiling src/mame/drivers/gamecstl.c...
Compiling src/mame/drivers/gammagic.c...
Compiling src/mame/drivers/gamtor.c...
Compiling src/mame/drivers/gei.c...
Compiling src/mame/drivers/globalvr.c...
Compiling src/mame/drivers/goldngam.c...
Compiling src/mame/drivers/gluck2.c...
Compiling src/mame/drivers/good.c...
Compiling src/mame/drivers/gotcha.c...
Compiling src/mame/video/gotcha.c...
Compiling src/mame/drivers/gstream.c...
Compiling src/mame/drivers/gumbo.c...
Compiling src/mame/video/gumbo.c...
Compiling src/mame/drivers/gunpey.c...
Compiling src/mame/drivers/hazelgr.c...
Compiling src/mame/drivers/headonb.c...
Compiling src/mame/drivers/himesiki.c...
Compiling src/mame/video/himesiki.c...
src/mame/drivers/gunpey.c:333:48: warning: self-comparison always evaluates to false [-Wtautological-compare]
                if ((zoomwidth != sourcewidth) || (zoomheight!= zoomheight))
                                                             ^
Compiling src/mame/drivers/hitpoker.c...
Compiling src/mame/drivers/homedata.c...
Compiling src/mame/video/homedata.c...
1 warning generated.
Compiling src/mame/drivers/hotblock.c...
Compiling src/mame/drivers/hotstuff.c...
Compiling src/mame/drivers/ichiban.c...
Compiling src/mame/drivers/intrscti.c...
Compiling src/mame/drivers/istellar.c...
Compiling src/mame/drivers/itgambl2.c...
Compiling src/mame/drivers/itgambl3.c...
Compiling src/mame/drivers/itgamble.c...
Compiling src/mame/drivers/jackpool.c...
Compiling src/mame/drivers/jokrwild.c...
src/mame/drivers/jackpool.c:305: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/jongkyo.c...
Compiling src/mame/drivers/jubilee.c...
1 warning generated.
Compiling src/mame/drivers/kingpin.c...
Compiling src/mame/drivers/koikoi.c...
Compiling src/mame/drivers/kurukuru.c...
Compiling src/mame/drivers/kyugo.c...
Compiling src/mame/video/kyugo.c...
Compiling src/mame/drivers/ladyfrog.c...
Compiling src/mame/video/ladyfrog.c...
Compiling src/mame/drivers/laserbas.c...
Compiling src/mame/drivers/lethalj.c...
Compiling src/mame/video/lethalj.c...
Compiling src/mame/drivers/limenko.c...
src/mame/video/lethalj.c:84:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_blitter_base = (UINT16 *)memregion("gfx1")->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/ltcasino.c...
1 warning generated.
Compiling src/mame/drivers/magicard.c...
Compiling src/mame/video/lucky74.c...
src/mame/drivers/magicard.c:702:19: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        UINT16 *src    = (UINT16*)memregion("maincpu" )->base();
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/magicfly.c...
Compiling src/mame/drivers/magictg.c...
Compiling src/mame/drivers/magtouch.c...
1 warning generated.
Compiling src/mame/drivers/malzak.c...
Compiling src/mame/video/malzak.c...
Compiling src/mame/drivers/manohman.c...
Compiling src/mame/drivers/mcatadv.c...
Compiling src/mame/video/mcatadv.c...
Compiling src/mame/drivers/micro3d.c...
Compiling src/mame/machine/micro3d.c...
Compiling src/mame/video/micro3d.c...
Compiling src/mame/audio/micro3d.c...
Compiling src/mame/drivers/midas.c...
Compiling src/mame/drivers/miniboy7.c...
Compiling src/mame/drivers/mirax.c...
src/mame/machine/micro3d.c:330:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        const UINT16 *rom = (UINT16*)memregion("vertex")->base();
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/micro3d.c:369:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        const UINT16 *rom = (UINT16*)memregion("vertex")->base();
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/machine/micro3d.c:402:24: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        const UINT16 *rom = (UINT16*)memregion("vertex")->base();
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
src/mame/drivers/midas.c:871: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 *) memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/mole.c...
Compiling src/mame/drivers/mosaic.c...
1 warning generated.
Compiling src/mame/drivers/mpu12wbk.c...
Compiling src/mame/video/mosaic.c...
Compiling src/mame/drivers/mrjong.c...
Compiling src/mame/video/mrjong.c...
Compiling src/mame/drivers/murogem.c...
Compiling src/mame/drivers/multfish.c...
Compiling src/mame/drivers/murogmbl.c...
Compiling src/mame/drivers/neoprint.c...
Compiling src/mame/drivers/neptunp2.c...
src/mame/drivers/neoprint.c:286: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/news.c...
src/mame/drivers/neoprint.c:597: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/neoprint.c:607: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/neoprint.c:614: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 *)memregion( "maincpu" )->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/video/news.c...
4 warnings generated.
Compiling src/mame/drivers/nexus3d.c...
Compiling src/mame/audio/norautp.c...
Compiling src/mame/drivers/nsmpoker.c...
Compiling src/mame/drivers/oneshot.c...
Compiling src/mame/video/oneshot.c...
Compiling src/mame/drivers/onetwo.c...
Compiling src/mame/drivers/othello.c...
Compiling src/mame/drivers/othldrby.c...
Compiling src/mame/video/othldrby.c...
Compiling src/mame/drivers/pachifev.c...
Compiling src/mame/drivers/pasha2.c...
Compiling src/mame/drivers/pass.c...
Compiling src/mame/video/pass.c...
Compiling src/mame/drivers/photon.c...
Compiling src/mame/video/pk8000.c...
Compiling src/mame/drivers/photon2.c...
Compiling src/mame/drivers/photoply.c...
Compiling src/mame/drivers/pinkiri8.c...
Compiling src/mame/drivers/pipeline.c...
Compiling src/mame/drivers/pkscram.c...
Compiling src/mame/drivers/pntnpuzl.c...
Compiling src/mame/drivers/policetr.c...
Compiling src/mame/video/policetr.c...
Compiling src/mame/drivers/polyplay.c...
Compiling src/mame/audio/polyplay.c...
Compiling src/mame/video/polyplay.c...
Compiling src/mame/drivers/poker72.c...
Compiling src/mame/drivers/potgoldu.c...
Compiling src/mame/drivers/psattack.c...
Compiling src/mame/drivers/quizo.c...
Compiling src/mame/drivers/quizpun2.c...
Compiling src/mame/drivers/rbmk.c...
Compiling src/mame/drivers/rcorsair.c...
Compiling src/mame/drivers/rgum.c...
Compiling src/mame/drivers/savquest.c...
Compiling src/mame/drivers/shangkid.c...
Compiling src/mame/video/shangkid.c...
Compiling src/mame/drivers/skeetsht.c...
Compiling src/mame/drivers/skimaxx.c...
Compiling src/mame/drivers/skyarmy.c...
Compiling src/mame/drivers/skylncr.c...
src/mame/drivers/skimaxx.c:147:18: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        m_blitter_gfx = (UINT16 *) memregion( "blitter" )->base();
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/mame/drivers/sliver.c...
1 warning generated.
Compiling src/mame/drivers/slotcarn.c...
Compiling src/mame/drivers/smsmcorp.c...
Compiling src/mame/drivers/sothello.c...
Compiling src/mame/drivers/spool99.c...
Compiling src/mame/drivers/sprcros2.c...
Compiling src/mame/video/sprcros2.c...
Compiling src/mame/drivers/sshot.c...
Compiling src/mame/drivers/ssingles.c...
Compiling src/mame/drivers/statriv2.c...
Compiling src/mame/drivers/stellafr.c...
Compiling src/mame/drivers/stuntair.c...
Compiling src/mame/drivers/su2000.c...
Compiling src/mame/drivers/summit.c...
Compiling src/mame/drivers/sumt8035.c...
Compiling src/mame/drivers/supertnk.c...
Compiling src/mame/drivers/supercrd.c...
Compiling src/mame/drivers/superwng.c...
Compiling src/mame/drivers/tapatune.c...
Compiling src/mame/drivers/tattack.c...
Compiling src/mame/drivers/taxidriv.c...
Compiling src/mame/video/taxidriv.c...
Compiling src/mame/drivers/tcl.c...
Compiling src/mame/drivers/thedeep.c...
Compiling src/mame/video/thedeep.c...
Compiling src/mame/drivers/tiamc1.c...
Compiling src/mame/video/tiamc1.c...
Compiling src/mame/audio/tiamc1.c...
Compiling src/mame/drivers/tickee.c...
Compiling src/mame/drivers/tmspoker.c...
Compiling src/mame/drivers/truco.c...
Compiling src/mame/video/truco.c...
Compiling src/mame/drivers/trucocl.c...
Compiling src/mame/video/trucocl.c...
Compiling src/mame/drivers/trvmadns.c...
Compiling src/mame/drivers/trvquest.c...
Compiling src/mame/drivers/ttchamp.c...
Compiling src/mame/drivers/tugboat.c...
Compiling src/mame/drivers/unkfr.c...
Compiling src/mame/drivers/unkhorse.c...
Compiling src/mame/drivers/usgames.c...
Compiling src/mame/video/usgames.c...
Compiling src/mame/drivers/vamphalf.c...
Compiling src/mame/drivers/vcombat.c...
Compiling src/mame/drivers/vectrex.c...
Compiling src/mame/video/vectrex.c...
Compiling src/mame/machine/vectrex.c...
Compiling src/mame/drivers/vlc.c...
Compiling src/mame/drivers/voyager.c...
Compiling src/mame/drivers/vp101.c...
Compiling src/mame/drivers/vpoker.c...
src/mame/drivers/vlc.c:328:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                        UINT16* defaultram = (UINT16 *) state->memregion("defaults")->base();
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/drivers/vlc.c:773: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 *)memregion("maincpu")->base();
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Compiling src/mame/drivers/vroulet.c...
Compiling src/mame/drivers/wms.c...
Compiling src/mame/drivers/wildpkr.c...
Compiling src/mame/drivers/xtom3d.c...
Compiling src/mame/drivers/xyonix.c...
Compiling src/mame/video/xyonix.c...
Compiling src/mame/drivers/allied.c...
Compiling src/mame/drivers/alvg.c...
Compiling src/mame/drivers/bingo.c...
Compiling src/mame/drivers/by17.c...
Compiling src/mame/drivers/by35.c...
Compiling src/mame/drivers/by6803.c...
Compiling src/mame/drivers/by68701.c...
Compiling src/mame/drivers/byvid.c...
Compiling src/mame/drivers/capcom.c...
Compiling src/mame/drivers/de_1.c...
Compiling src/mame/drivers/de_3.c...
Compiling src/mame/drivers/de_3b.c...
Compiling src/mame/drivers/gp_1.c...
Compiling src/mame/machine/genpin.c...
Compiling src/mame/drivers/gp_2.c...
Compiling src/mame/drivers/gts1.c...
Compiling src/mame/drivers/gts3.c...
Compiling src/mame/drivers/gts80.c...
Compiling src/mame/drivers/gts80a.c...
Compiling src/mame/drivers/gts80b.c...
Compiling src/mame/drivers/hankin.c...
Compiling src/mame/drivers/inder.c...
Compiling src/mame/drivers/jeutel.c...
Compiling src/mame/drivers/jp.c...
Compiling src/mame/drivers/jvh.c...
Compiling src/mame/drivers/ltd.c...
Compiling src/mame/drivers/kissproto.c...
Compiling src/mame/drivers/micropin.c...
Compiling src/mame/drivers/mephisto.c...
Compiling src/mame/drivers/mrgame.c...
Compiling src/mame/drivers/play_1.c...
Compiling src/mame/drivers/play_2.c...
Compiling src/mame/drivers/play_3.c...
Compiling src/mame/drivers/play_5.c...
Compiling src/mame/drivers/sleic.c...
Compiling src/mame/drivers/spinb.c...
Compiling src/mame/drivers/st_mp100.c...
Compiling src/mame/drivers/st_mp200.c...
Compiling src/mame/drivers/taito.c...
Compiling src/mame/drivers/whitestar.c...
Compiling src/mame/drivers/white_mod.c...
Compiling src/mame/drivers/wpc_95.c...
Compiling src/mame/drivers/wpc_an.c...
Compiling src/mame/drivers/wpc_dcs.c...
Compiling src/mame/drivers/wpc_dot.c...
Compiling src/mame/drivers/wpc_flip1.c...
Compiling src/mame/drivers/wpc_flip2.c...
Compiling src/mame/drivers/wpc_s.c...
Compiling src/mame/machine/nmk112.c...
Compiling src/mame/machine/pcshare.c...
Compiling src/mame/machine/segacrpt.c...
Compiling src/mame/machine/segacrp2.c...
Compiling src/mame/machine/ticket.c...
Compiling src/mame/video/avgdvg.c...
Compiling src/osd/sdl/sdlmain.c...
src/mame/video/avgdvg.c:475:14: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        vg->data = ((UINT16 *)avgdvg_vectorram)[vg->pc >> 1];
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/mame/video/avgdvg.c:1095:11: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                data = ((UINT16 *)avgdvg_colorram)[vg->color];
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/osd/sdl/input.c...
Compiling src/osd/sdl/sound.c...
2 warnings generated.
Compiling src/osd/sdl/video.c...
src/osd/sdl/sound.c:246:9: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'INT16 *' (aka 'short *') increases required alignment from 1 to 2 [-Wcast-align]
        data = (INT16 *)((UINT8 *)data + cur_bytes);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Compiling src/osd/sdl/drawsdl.c...
src/osd/sdl/video.c:579:17: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
        if (USE_OPENGL || SDLMAME_SDL2)
                       ^  ~~~~~~~~~~~~
src/osd/sdl/video.c:579:17: note: use '|' for a bitwise operation
        if (USE_OPENGL || SDLMAME_SDL2)
                       ^~
                       |
src/osd/sdl/video.c:675:17: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
        if (USE_OPENGL || SDLMAME_SDL2)
                       ^  ~~~~~~~~~~~~
src/osd/sdl/video.c:675:17: note: use '|' for a bitwise operation
        if (USE_OPENGL || SDLMAME_SDL2)
                       ^~
                       |
2 warnings generated.
Compiling src/osd/sdl/window.c...
Compiling src/osd/sdl/output.c...
Compiling src/osd/sdl/watchdog.c...
In file included from src/osd/sdl/drawsdl.c:19:
In file included from src/emu/rendersw.c:43:
In file included from src/emu/video/rgbutil.h:18:
src/emu/video/rgbsse.h:268:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color1 = _mm_madd_epi16(*color1, *(__m128i *)&rgbsse_statics.scale_table[color1scale][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:298:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:308:34: warning: cast from 'INT16 const (*)[8]' to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        *color = _mm_min_epi16(*color, *(__m128i *)&rgbsse_statics.maxbyte);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:346:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:347:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:351:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:387:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:388:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color11 = _mm_madd_epi16(color11, *(__m128i *)&rgbsse_statics.scale_table[u][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/video/rgbsse.h:392:37: warning: cast from 'const INT16 *' (aka 'const short *') to '__m128i *' increases required alignment from 2 to 16 [-Wcast-align]
        color01 = _mm_madd_epi16(color01, *(__m128i *)&rgbsse_statics.scale_table[v][0]);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawsdl.c:1023:12: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
                dest_y = (UINT16 *)(pixels[0] + 2 * y * pitch);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawsdl.c:1057:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                dest = (UINT32 *) ptr;
                       ^~~~~~~~~~~~~~
src/osd/sdl/drawsdl.c:1085:10: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                dest = (UINT32 *) ptr;
                       ^~~~~~~~~~~~~~
Compiling src/osd/sdl/sdlmidi.c...
Compiling src/osd/sdl/debugwin.c...
Compiling src/osd/sdl/dview.c...
Compiling src/osd/sdl/debug-sup.c...
Compiling src/osd/sdl/debug-intf.c...
Compiling src/osd/sdl/drawogl.c...
Compiling src/osd/sdl/gl_shader_tool.c...
Compiling src/osd/sdl/gl_shader_mgr.c...
12 warnings generated.
Compiling src/emu/cpu/vtlb.c...
Compiling src/emu/cpu/arm/arm.c...
Compiling src/emu/cpu/arm7/arm7.c...
src/osd/sdl/drawogl.c:2812:12: warning: variable 'ustart' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2827:15: note: uninitialized use occurs here
        du = ustop - ustart;
                     ^~~~~~
src/osd/sdl/drawogl.c:2812:7: note: remove the 'if' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2812:12: warning: variable 'ustart' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2827:15: note: uninitialized use occurs here
        du = ustop - ustart;
                     ^~~~~~
src/osd/sdl/drawogl.c:2812:12: note: remove the '&&' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2787:14: note: initialize the variable 'ustart' to silence this warning
        float ustart, ustop;            // beginning/ending U coordinates
                    ^
                     = 0.0
src/osd/sdl/drawogl.c:2812:12: warning: variable 'vstart' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2828:15: note: uninitialized use occurs here
        dv = vstop - vstart;
                     ^~~~~~
src/osd/sdl/drawogl.c:2812:7: note: remove the 'if' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2812:12: warning: variable 'vstart' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2828:15: note: uninitialized use occurs here
        dv = vstop - vstart;
                     ^~~~~~
src/osd/sdl/drawogl.c:2812:12: note: remove the '&&' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2788:14: note: initialize the variable 'vstart' to silence this warning
        float vstart, vstop;            // beginning/ending V coordinates
                    ^
                     = 0.0
src/osd/sdl/drawogl.c:2812:12: warning: variable 'ustop' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2827:7: note: uninitialized use occurs here
        du = ustop - ustart;
             ^~~~~
src/osd/sdl/drawogl.c:2812:7: note: remove the 'if' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2812:12: warning: variable 'ustop' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2827:7: note: uninitialized use occurs here
        du = ustop - ustart;
             ^~~~~
src/osd/sdl/drawogl.c:2812:12: note: remove the '&&' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2787:21: note: initialize the variable 'ustop' to silence this warning
        float ustart, ustop;            // beginning/ending U coordinates
                           ^
                            = 0.0
src/osd/sdl/drawogl.c:2812:12: warning: variable 'vstop' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2828:7: note: uninitialized use occurs here
        dv = vstop - vstart;
             ^~~~~
src/osd/sdl/drawogl.c:2812:7: note: remove the 'if' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2812:12: warning: variable 'vstop' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2828:7: note: uninitialized use occurs here
        dv = vstop - vstart;
             ^~~~~
src/osd/sdl/drawogl.c:2812:12: note: remove the '&&' if its condition is always true
        else if ( texture->type == TEXTURE_TYPE_SHADER && shaderIdx>sdl->glsl_program_mb2sc )
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/osd/sdl/drawogl.c:2788:21: note: initialize the variable 'vstop' to silence this warning
        float vstart, vstop;            // beginning/ending V coordinates
                           ^
                            = 0.0
Compiling src/emu/cpu/arm7/arm7thmb.c...
8 warnings generated.
Compiling src/emu/cpu/arm7/arm7ops.c...
Compiling src/emu/cpu/se3208/se3208.c...
Compiling src/emu/cpu/alph8201/alph8201.c...
Compiling src/emu/cpu/adsp2100/adsp2100.c...
Compiling src/emu/cpu/sharc/sharc.c...
Compiling src/emu/cpu/apexc/apexc.c...
Compiling src/emu/cpu/dsp16/dsp16.c...
Compiling src/emu/cpu/dsp32/dsp32.c...
Compiling src/emu/cpu/asap/asap.c...
Compiling src/emu/cpu/am29000/am29000.c...
Compiling src/emu/cpu/jaguar/jaguar.c...
Compiling src/emu/cpu/cubeqcpu/cubeqcpu.c...
Compiling src/emu/cpu/es5510/es5510.c...
src/emu/cpu/cubeqcpu/cubeqcpu.c:282:25: warning: cast from 'UINT8 *' (aka 'unsigned char *') to 'UINT16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
        cpustate->sound_data = (UINT16*)device->machine().root_device().memregion(_config->sound_data_region)->base();
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/emu/cpu/cubeqcpu/cubeqcpu.c:1145:6: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
        if (VISIBLE_FIELD == ODD_FIELD)
            ^             ~~
src/emu/cpu/cubeqcpu/cubeqcpu.c:1066:25: note: expanded from macro 'VISIBLE_FIELD'
#define VISIBLE_FIELD   !cpustate->field
                        ^
src/emu/cpu/cubeqcpu/cubeqcpu.c:1145:6: note: add parentheses after the '!' to evaluate the comparison first
src/emu/cpu/cubeqcpu/cubeqcpu.c:1066:25: note: expanded from macro 'VISIBLE_FIELD'
#define VISIBLE_FIELD   !cpustate->field
                        ^
src/emu/cpu/cubeqcpu/cubeqcpu.c:1145:6: note: add parentheses around left hand side expression to silence this warning
        if (VISIBLE_FIELD == ODD_FIELD)
            ^
            (            )
src/emu/cpu/cubeqcpu/cubeqcpu.c:1066:25: note: expanded from macro 'VISIBLE_FIELD'
#define VISIBLE_FIELD   !cpustate->field
                        ^
1 warning and 1 error generated.
gmake: *** [obj//usr/pkgsdl64/emu/cpu/cubeqcpu/cubeqcpu.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/emulators/mame
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/emulators/mame
