------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/games/libretro-mu XDG_CONFIG_HOME=/construction/games/libretro-mu XDG_CACHE_HOME=/construction/games/libretro-mu/.cache HOME=/construction/games/libretro-mu TMPDIR="/tmp" PATH=/construction/games/libretro-mu/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/libretro-mu/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/games/libretro-mu XDG_CONFIG_HOME=/construction/games/libretro-mu XDG_CACHE_HOME=/construction/games/libretro-mu/.cache HOME=/construction/games/libretro-mu TMPDIR="/tmp" PATH=/construction/games/libretro-mu/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/libretro-mu/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/libretro-mu/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/libretro-mu" EXAMPLESDIR="share/examples/libretro-mu" DATADIR="share/libretro-mu" WWWDIR="www/libretro-mu" ETCDIR="etc/libretro-mu" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libretro-mu DOCSDIR=/usr/local/share/doc/libretro-mu EXAMPLESDIR=/usr/local/share/examples/libretro-mu WWWDIR=/usr/local/www/libretro-mu ETCDIR=/usr/local/etc/libretro-mu SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mu port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> libretro-mu-0.20220317 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mu port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> libretro-mu-0.20220317 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mu-0.20220317 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mu port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> libretro-mu-0.20220317 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mu-0.20220317 for building => SHA256 Checksum OK for libretro-Mu-0.20220317-1361da0_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mu port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> libretro-mu-0.20220317 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mu-0.20220317 for building ===> Extracting for libretro-mu-0.20220317 => SHA256 Checksum OK for libretro-Mu-0.20220317-1361da0_GH0.tar.gz. Extracted Memory Use: 10.89M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for libretro-mu-0.20220317 ===> Applying ports patches for libretro-mu-0.20220317 from /xports/games/libretro-mu/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> libretro-mu-0.20220317 depends on package: gmake>=4.3 - found ===> libretro-mu-0.20220317 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> libretro-mu-0.20220317 depends on package: gmake>=4.3 - found ===> libretro-mu-0.20220317 depends on file: /usr/local/bin/ccache - found ===> Configuring for libretro-mu-0.20220317 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for libretro-mu-0.20220317 gmake[1]: Entering directory '/construction/games/libretro-mu/Mu-1361da0' cd libretroBuildSystem && gmake gmake[2]: Entering directory '/construction/games/libretro-mu/Mu-1361da0/libretroBuildSystem' /bin/sh: git: not found cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro.o libretro.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o cursors.o cursors.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/emulator.o ../src/emulator.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m5XXBus.o ../src/m5XXBus.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/dbvz.o ../src/dbvz.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/flx68000.o ../src/flx68000.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/sed1376.o ../src/sed1376.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/ads7846.o ../src/ads7846.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pdiUsbD12.o ../src/pdiUsbD12.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/sdCard.o ../src/sdCard.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/silkscreen.o ../src/silkscreen.c In file included from ../src/ads7846.c:5: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ In file included from ../src/ads7846.c:4: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] static void debugLog(char* str, ...){}; ^~~~~~~~ In file included from ../src/flx68000.c:5: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ In file included from ../src/flx68000.c:4: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] static void debugLog(char* str, ...){}; ^~~~~~~~ In file included from ../src/sdCard.c:6: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ In file included from ../src/sdCard.c:63: ./../include/sdCardAccessors.c.h: In function 'sdCardResponseFifoReadByteOptimized': ./../include/sdCardAccessors.c.h:52:85: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] byte = palmSdCard.responseFifo[palmSdCard.responseReadPosition] << 7 - palmSdCard.responseReadPositionBit; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/sdCardAccessors.c.h:54:119: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] byte |= palmSdCard.responseFifo[palmSdCard.responseReadPosition] >> palmSdCard.responseReadPositionBit + 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./../include/sdCardAccessors.c.h: In function 'sdCardDoResponseDataPacket': ./../include/sdCardAccessors.c.h:111:27: warning: passing argument 1 of 'sdCardCrc16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] crc16 = sdCardCrc16(data, size); ^~~~ ../src/sdCard.c:52:38: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} static uint16_t sdCardCrc16(uint8_t* data, uint16_t size){ ~~~~~~~~~^~~~ In file included from ../src/sdCard.c:63: ./../include/sdCardAccessors.c.h: In function 'sdCardGetCsd': ./../include/sdCardAccessors.c.h:137:20: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] csd[6] = csd[6] & 0xFC | deviceSize >> 10 & 0x03; ~~~~~~~^~~~~~ ./../include/sdCardAccessors.c.h:139:20: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] csd[8] = csd[8] & 0x3F | deviceSize << 6 & 0xC0; ~~~~~~~^~~~~~ ../src/sdCard.c: In function 'sdCardExchangeBit': ../src/sdCard.c:416:101: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] palmSdCard.runningCommandPacket[palmSdCard.runningCommandVars[2] / 8] |= bit << 7 - palmSdCard.runningCommandVars[2] % 8; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/sdCard.c: In function 'sdCardExchangeXBitsUnoptimized': ../src/sdCard.c:463:30: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] uint32_t mask = 1 << size - 1; ~~~~~^~~ ../src/sdCard.c: In function 'sdCardExchangeXBitsOptimized': ../src/sdCard.c:485:106: warning: suggest parentheses around '&&' within '||' [-Wparentheses] bool ignoreCmdBits = palmSdCard.commandBitsRemaining == 48 && (bits == all1s || bits == 0x00000000 && !(size & 0x1)); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/sdCard.c:486:115: warning: suggest parentheses around '&&' within '||' [-Wparentheses] bool safeToOptimize = !palmSdCard.receivingCommand || ignoreCmdBits || palmSdCard.commandBitsRemaining > 47 && palmSdCard.commandBitsRemaining - size < 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/sdCard.c:536:85: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] palmSdCard.runningCommandPacket[currentByte] = bits >> (size - 8) - (index * 8) & 0xFF; ~~~~~~~~~~~^~~~~~~~~~~~~ ../src/sdCard.c:505:30: warning: this statement may fall through [-Wimplicit-fallthrough=] returnBits |= sdCardResponseFifoReadByteOptimized() << 24; ^~ ../src/sdCard.c:506:16: note: here case 24: ^~~~ ../src/sdCard.c:507:30: warning: this statement may fall through [-Wimplicit-fallthrough=] returnBits |= sdCardResponseFifoReadByteOptimized() << 16; ^~ ../src/sdCard.c:508:16: note: here case 16: ^~~~ ../src/sdCard.c:509:30: warning: this statemeIn file included from ../src/emulator.c:15: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ ../src/emulator.c: In function 'emulatorRunFrame': ../src/emulator.c:778:64: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] palmFramebuffer[index] = palmFramebuffer[index] & 0xF81F | FAST_MIN(greenChannel, 0x07E0); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ At top level: ../src/emulator.c:80:13: warning: 'patchOsRom' defined but not used [-Wunused-function] static void patchOsRom(uint32_t address, char* patch){ ^~~~~~~~~~ nt may fall through [-Wimplicit-fallthrough=] returnBits |= sdCardResponseFifoReadByteOptimized() << 8; ^~ ../src/sdCard.c:510:16: note: here case 8: ^~~~ In file included from ../src/dbvz.c:8: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ In file included from ./../include/emulator.h:15, from ../src/dbvz.c:6: ./../include/dbvzRegisterAccessors.c.h: In function 'registerArrayRead8': ./../include/m5XXBus.h:49:99: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] #define M68K_BUFFER_READ_8(segment, accessAddress, mask) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1))) ~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:14:60: note: in expansion of macro 'M68K_BUFFER_READ_8' static uint8_t registerArrayRead8(uint32_t address){return M68K_BUFFER_READ_8(dbvzReg, address, 0xFFF);} ^~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'registerArrayRead32': ./../include/m5XXBus.h:51:159: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_READ_32(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask))) << 16 | *(uint16_t*)(segment + ((accessAddress) + 2 & (mask)))) ~~~~~~~~~~~~~~~~^~~ ./../include/dbvzRegisterAccessors.c.h:16:62: note: in expansion of macro 'M68K_BUFFER_READ_32' static uint32_t registerArrayRead32(uint32_t address){return M68K_BUFFER_READ_32(dbvzReg, address, 0xFFF);} ^~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'registerArrayWrite8': ./../include/m5XXBus.h:52:107: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] #define M68K_BUFFER_WRITE_8(segment, accessAddress, mask, value) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1)) = (value)) ~~~~~~~~~~~~~~~~^~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:17:66: note: in expansion of macro 'M68K_BUFFER_WRITE_8' static void registerArrayWrite8(uint32_t address, uint8_t value){M68K_BUFFER_WRITE_8(dbvzReg, address, 0xFFF, value);} ^~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'registerArrayWrite32': ./../include/m5XXBus.h:54:177: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_WRITE_32(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value) >> 16 , *(uint16_t*)(segment + ((accessAddress) + 2 & (mask))) = (value) & 0xFFFF) ~~~~~~~~~~~~~~~~^~~ ./../include/dbvzRegisterAccessors.c.h:19:68: note: in expansion of macro 'M68K_BUFFER_WRITE_32' static void registerArrayWrite32(uint32_t address, uint32_t value){M68K_BUFFER_WRITE_32(dbvzReg, address, 0xFFF, value);} ^~~~~~~~~~~~~~~~~~~~ In file included from ../src/dbvz.c:57: ./../include/dbvzRegisterAccessors.c.h: In function 'setCsb': ./../include/dbvzRegisterAccessors.c.h:253:112: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dbvzChipSelects[DBVZ_CHIP_B0_SED].unprotectedSize = dbvzChipSelects[DBVZ_CHIP_B0_SED].lineSize / (1 << 7 - ((value >> 11 & 0x0003) | 0x0004)); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:255:112: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dbvzChipSelects[DBVZ_CHIP_B0_SED].unprotectedSize = dbvzChipSelects[DBVZ_CHIP_B0_SED].lineSize / (1 << 7 - (value >> 11 & 0x0003)); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'setCsd': ./../include/dbvzRegisterAccessors.c.h:282:112: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dbvzChipSelects[DBVZ_CHIP_DX_RAM].unprotectedSize = dbvzChipSelects[DBVZ_CHIP_DX_RAM].lineSize / (1 << 7 - ((value >> 11 & 0x0003) | 0x0004)); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:284:112: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dbvzChipSelects[DBVZ_CHIP_DX_RAM].unprotectedSize = dbvzChipSelects[DBVZ_CHIP_DX_RAM].lineSize / (1 << 7 - (value >> 11 & 0x0003)); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'updateUart1Interrupt': ./../include/dbvzRegisterAccessors.c.h:585:19: warning: unused variable 'urx1' [-Wunused-variable] uint16_t urx1 = registerArrayRead16(URX1); ^~~~ ./../include/dbvzRegisterAccessors.c.h:602:19: warning: unused variable 'utx1' [-Wunused-variable] uint16_t utx1 = registerArrayRead16(UTX1); ^~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'updateUart2Interrupt': ./../include/dbvzRegisterAccessors.c.h:666:19: warning: unused variable 'urx2' [-Wunused-variable] uint16_t urx2 = registerArrayRead16(URX2); ^~~~ ./../include/dbvzRegisterAccessors.c.h:683:19: warning: unused variable 'utx2' [-Wunused-variable] uint16_t utx2 = registerArrayRead16(UTX2); ^~~~ In file included from ../src/dbvz.c:58: ./../include/dbvzTiming.c.h: In function 'rtcAddSecondClk32': ./../include/dbvzTiming.c.h:295:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(hours < alarmHours || hours == alarmHours && minutes < alarmMinutes || hours == alarmHours && minutes == alarmMinutes && seconds < alarmSeconds){ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzTiming.c.h:295:134: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(hours < alarmHours || hours == alarmHours && minutes < alarmMinutes || hours == alarmHours && minutes == alarmMinutes && seconds < alarmSeconds){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzTiming.c.h:297:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(time[0] > alarmHours || time[0] == alarmHours && time[1] > alarmMinutes || time[0] == alarmHours && time[1] == alarmMinutes && time[0] >= alarmSeconds){ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzTiming.c.h:297:143: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(time[0] > alarmHours || time[0] == alarmHours && time[1] > alarmMinutes || time[0] == alarmHours && time[1] == alarmMinutes && time[0] >= alarmSeconds){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/dbvz.c: In function 'dbvzLcdRender': ../src/dbvz.c:95:118: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dbvzFramebuffer[y * dbvzFramebufferWidth + x * 16 + index - pixelShift] = !!(dataUnit & 1 << 15 - index) == invertColors ? masterColorLut[0] : masterColorLut[15]; ~~~^~~~~~~ ../src/dbvz.c:113:158: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] dbvzFramebuffer[y * dbvzFramebufferWidth + x * 8 + index - pixelShift] = invertColors ? masterColorLut[15 - colorLut2Bpp[dataUnit >> 14 - index * 2 & 0x03]] : masterColorLut[colorLut2Bpp[dataUnit >> 14 - index * 2 & 0x03]]; ~~~^~~~~~~~~~~ ../src/dbvz.c:113:224: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] dbvzFramebuffer[y * dbvzFramebufferWidth + x * 8 + index - pixelShift] = invertColors ? masterColorLut[15 - colorLut2Bpp[dataUnit >> 14 - index * 2 & 0x03]] : masterColorLut[colorLut2Bpp[dataUnit >> 14 - index * 2 & 0x03]]; ~~~^~~~~~~~~~~ ../src/dbvz.c:126:146: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] dbvzFramebuffer[y * dbvzFramebufferWidth + x * 4 + index - pixelShift] = invertColors ? masterColorLut[15 - (dataUnit >> 12 - index * 4 & 0x0F)] : masterColorLut[dataUnit >> 12 - index * 4 & 0x0F]; ~~~^~~~~~~~~~~ ../src/dbvz.c:126:199: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] dbvzFramebuffer[y * dbvzFramebufferWidth + x * 4 + index - pixelShift] = invertColors ? masterColorLut[15 - (dataUnit >> 12 - index * 4 & 0x0F)] : masterColorLut[dataUnit >> 12 - index * 4 & 0x0F]; ~~~^~~~~~~~~~~ ../src/dbvz.c: In function 'checkPortDInterrupts': ../src/dbvz.c:310:156: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uint8_t portDInterruptTriggered = portDInterruptValue & portDInterruptEnabled & portDIsInput & (~portDInterruptEdgeTriggered | ~portDInterruptLastValue & (dbvzIsPllOn() ? 0xFF : 0xF0)); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/dbvz.c: In function 'dbvzSetRtc': ../src/dbvz.c:1427:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] registerArrayWrite32(RTCTIME, hours << 24 & 0x1F000000 | minutes << 16 & 0x003F0000 | seconds & 0x0000003F); ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/dbvz.c:1427:98: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] registerArrayWrite32(RTCTIME, hours << 24 & 0x1F000000 | minutes << 16 & 0x003F0000 | seconds & 0x0000003F); ~~~~~~~~^~~~~~~~~~~~ In file included from ../src/dbvz.c:57: At top level: ./../include/dbvzRegisterAccessors.c.h:634:13: warning: 'updateUart2PortState' defined but not used [-Wunused-function] static void updateUart2PortState(void){ ^~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:556:13: warning: 'updateUart1PortState' defined but not used [-Wunused-function] static void updateUart1PortState(void){ ^~~~~~~~~~~~~~~~~~~~ In file included from ../src/dbvz.c:57: ./../include/dbvzRegisterAccessors.c.h:136:17: warning: 'uart2RxFifoRead' defined but not used [-Wunused-function] static uint16_t uart2RxFifoRead(void){ ^~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:98:17: warning: 'uart1RxFifoRead' defined but not used [-Wunused-function] static uint16_t uart1RxFifoRead(void){ ^~~~~~~~~~~~~~~ In file included from ../src/pdiUsbD12.c:6: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/audio/blip_buf.o ../src/audio/blip_buf.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kops.o ../src/m68k/m68kops.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kopnz.o ../src/m68k/m68kopnz.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kopdm.o ../src/m68k/m68kopdm.c In file included from libretro.c:17: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ libretro.c: In function 'retro_unserialize': libretro.c:703:29: warning: passing argument 1 of 'emulatorLoadState' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return emulatorLoadState(data, size); ^~~~ In file included from libretro.c:16: ./../include/emulator.h:224:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const void *' bool emulatorLoadState(uint8_t* data, uint32_t size);//true = success ~~~~~~~~~^~~~ In file included from libretro.c:16: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] static void debugLog(char* str, ...){}; ^~~~~~~~ cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kopac.o ../src/m68k/m68kopac.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kcpu.o ../src/m68k/m68kcpu.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/fileLauncher/launcher.o ../src/fileLauncher/launcher.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/compat/compat_strl.o libretro-common/compat/compat_strl.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/compat/compat_posix_string.o libretro-common/compat/compat_posix_string.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/compat/fopen_utf8.o libretro-common/compat/fopen_utf8.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/encodings/encoding_utf.o libretro-common/encodings/encoding_utf.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/memmap/memmap.o libretro-common/memmap/memmap.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/streams/file_stream.o libretro-common/streams/file_stream.c In file included from ../src/fileLauncher/launcher.c:7: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ ../src/fileLauncher/launcher.c: In function 'launcherM5XXCallGuestFunction': ../src/fileLauncher/launcher.c:150:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] m68k_set_reg(M68K_REG_SR, oldCpuState.sr & 0xF0FF | m68k_get_reg(NULL, M68K_REG_SR) & 0x0700);//dont restore intMask ~~~~~~~~~~~~~~~^~~~~~~~ ../src/fileLauncher/launcher.c: In function 'launcherLaunchAppM5XX': ../src/fileLauncher/launcher.c:213:14: warning: multi-character character constant [-Wmultichar] args[2] = 'appl'; ^~~~~~ ../src/fileLauncher/launcher.c: In function 'launcherIsExecutable': ../src/fileLauncher/launcher.c:416:21: warning: multi-character character constant [-Wmultichar] if(type == 'appl') ^~~~~~ ../src/fileLauncher/launcher.c: In function 'launcherGetAppId': ../src/fileLauncher/launcher.c:432:21: warning: multi-character character constant [-Wmultichar] if(type == 'appl') ^~~~~~ In file included from ../src/fileLauncher/launcher.c:6: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] static void debugLog(char* str, ...){}; ^~~~~~~~ cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/string/stdstring.o libretro-common/string/stdstring.c cc -I./../include -I./libretro-common/include -pipe -O2 -fno-strict-aliasing -O2 -DNDEBUG -DEMU_NO_SAFETY -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro-common/vfs/vfs_implementation.o libretro-common/vfs/vfs_implementation.c In file included from ../src/m5XXBus.c:7: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ In file included from ../src/m5XXBus.c:4: ../src/m5XXBus.c: In function 'romRead8': ./../include/m5XXBus.h:49:99: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] #define M68K_BUFFER_READ_8(segment, accessAddress, mask) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1))) ~~~~~~~~~~~~~~~~^~~~~~~~ ../src/m5XXBus.c:17:50: note: in expansion of macro 'M68K_BUFFER_READ_8' static uint8_t romRead8(uint32_t address){return M68K_BUFFER_READ_8(palmRom, address, dbvzChipSelects[DBVZ_CHIP_A0_ROM].mask);} ^~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'romRead32': ./../include/m5XXBus.h:51:159: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_READ_32(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask))) << 16 | *(uint16_t*)(segment + ((accessAddress) + 2 & (mask)))) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:19:52: note: in expansion of macro 'M68K_BUFFER_READ_32' static uint32_t romRead32(uint32_t address){return M68K_BUFFER_READ_32(palmRom, address, dbvzChipSelects[DBVZ_CHIP_A0_ROM].mask);} ^~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'ramRead8': ./../include/m5XXBus.h:49:99: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] #define M68K_BUFFER_READ_8(segment, accessAddress, mask) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1))) ~~~~~~~~~~~~~~~~^~~~~~~~ ../src/m5XXBus.c:22:50: note: in expansion of macro 'M68K_BUFFER_READ_8' static uint8_t ramRead8(uint32_t address){return M68K_BUFFER_READ_8(palmRam, address, dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask);} ^~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'ramRead32': ./../include/m5XXBus.h:51:159: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_READ_32(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask))) << 16 | *(uint16_t*)(segment + ((accessAddress) + 2 & (mask)))) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:24:52: note: in expansion of macro 'M68K_BUFFER_READ_32' static uint32_t ramRead32(uint32_t address){return M68K_BUFFER_READ_32(palmRam, address, dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask);} ^~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'ramWrite8': ./../include/m5XXBus.h:52:107: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] #define M68K_BUFFER_WRITE_8(segment, accessAddress, mask, value) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1)) = (value)) ~~~~~~~~~~~~~~~~^~~~~~~~ ../src/m5XXBus.c:25:56: note: in expansion of macro 'M68K_BUFFER_WRITE_8' static void ramWrite8(uint32_t address, uint8_t value){M68K_BUFFER_WRITE_8(palmRam, address, dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask, value);} ^~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'ramWrite32': ./../include/m5XXBus.h:54:177: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_WRITE_32(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value) >> 16 , *(uint16_t*)(segment + ((accessAddress) + 2 & (mask))) = (value) & 0xFFFF) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:27:58: note: in expansion of macro 'M68K_BUFFER_WRITE_32' static void ramWrite32(uint32_t address, uint32_t value){M68K_BUFFER_WRITE_32(palmRam, address, dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask, value);} ^~~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'sed1376Read16': ./../include/m5XXBus.h:56:136: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_READ_16_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 8 | segment[(accessAddress) + 1 & (mask)]) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:46:14: note: in expansion of macro 'M68K_BUFFER_READ_16_BIG_ENDIAN' return M68K_BUFFER_READ_16_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'sed1376Read32': ./../include/m5XXBus.h:57:137: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_READ_32_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 24 | segment[(accessAddress) + 1 & (mask)] << 16 | segment[(accessAddress) + 2 & (mask)] << 8 | segment[(accessAddress) + 3 & (mask)]) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:56:14: note: in expansion of macro 'M68K_BUFFER_READ_32_BIG_ENDIAN' return M68K_BUFFER_READ_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/m5XXBus.h:57:183: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_READ_32_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 24 | segment[(accessAddress) + 1 & (mask)] << 16 | segment[(accessAddress) + 2 & (mask)] << 8 | segment[(accessAddress) + 3 & (mask)]) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:56:14: note: in expansion of macro 'M68K_BUFFER_READ_32_BIG_ENDIAN' return M68K_BUFFER_READ_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/m5XXBus.h:57:228: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_READ_32_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 24 | segment[(accessAddress) + 1 & (mask)] << 16 | segment[(accessAddress) + 2 & (mask)] << 8 | segment[(accessAddress) + 3 & (mask)]) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:56:14: note: in expansion of macro 'M68K_BUFFER_READ_32_BIG_ENDIAN' return M68K_BUFFER_READ_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'sed1376Write16': ./../include/m5XXBus.h:59:153: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_WRITE_16_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 8, segment[(accessAddress) + 1 & (mask)] = (value) & 0xFF) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:68:7: note: in expansion of macro 'M68K_BUFFER_WRITE_16_BIG_ENDIAN' M68K_BUFFER_WRITE_16_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'sed1376Write32': ./../include/m5XXBus.h:60:154: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_WRITE_32_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 24, segment[(accessAddress) + 1 & (mask)] = ((value) >> 16) & 0xFF, segment[(accessAddress) + 2 & (mask)] = ((value) >> 8) & 0xFF, segment[(accessAddress) + 3 & (mask)] = (value) & 0xFF) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:74:7: note: in expansion of macro 'M68K_BUFFER_WRITE_32_BIG_ENDIAN' M68K_BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/m5XXBus.h:60:218: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_WRITE_32_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 24, segment[(accessAddress) + 1 & (mask)] = ((value) >> 16) & 0xFF, segment[(accessAddress) + 2 & (mask)] = ((value) >> 8) & 0xFF, segment[(accessAddress) + 3 & (mask)] = (value) & 0xFF) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:74:7: note: in expansion of macro 'M68K_BUFFER_WRITE_32_BIG_ENDIAN' M68K_BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/m5XXBus.c:4: ./../include/m5XXBus.h:60:281: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] #define M68K_BUFFER_WRITE_32_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 24, segment[(accessAddress) + 1 & (mask)] = ((value) >> 16) & 0xFF, segment[(accessAddress) + 2 & (mask)] = ((value) >> 8) & 0xFF, segment[(accessAddress) + 3 & (mask)] = (value) & 0xFF) ~~~~~~~~~~~~~~~~^~~ ../src/m5XXBus.c:74:7: note: in expansion of macro 'M68K_BUFFER_WRITE_32_BIG_ENDIAN' M68K_BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: ../src/m5XXBus.c:90:13: warning: 'probeWrite' defined but not used [-Wunused-function] static bool probeWrite(uint8_t bank, uint32_t address){ ^~~~~~~~~~ ../src/m5XXBus.c:79:13: warning: 'probeRead' defined but not used [-Wunused-function] static bool probeRead(uint8_t bank, uint32_t address){ ^~~~~~~~~ In file included from ../src/sed1376.c:5: ./../include/portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); ^ ** BUILDING mu_libretro.so FOR PLATFORM unix ** cc -fPIC -shared -Wl,--version-script=build/link.T -I./../include -I./libretro-common/include -o mu_libretro.so ./libretro.o ./cursors.o ./../src/emulator.o ./../src/m5XXBus.o ./../src/dbvz.o ./../src/flx68000.o ./../src/sed1376.o ./../src/ads7846.o ./../src/pdiUsbD12.o ./../src/sdCard.o ./../src/silkscreen.o ./../src/audio/blip_buf.o ./../src/m68k/m68kops.o ./../src/m68k/m68kopnz.o ./../src/m68k/m68kopdm.o ./../src/m68k/m68kopac.o ./../src/m68k/m68kcpu.o ./../src/fileLauncher/launcher.o ./libretro-common/compat/compat_strl.o ./libretro-common/compat/compat_posix_string.o ./libretro-common/compat/fopen_utf8.o ./libretro-common/encodings/encoding_utf.o ./libretro-common/memmap/memmap.o ./libretro-common/streams/file_stream.o ./libretro-common/string/stdstring.o ./libretro-common/vfs/vfs_implementation.o -lm gmake[2]: Leaving directory '/construction/games/libretro-mu/Mu-1361da0/libretroBuildSystem' gmake[1]: Leaving directory '/construction/games/libretro-mu/Mu-1361da0' SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for libretro-mu-0.20220317 ===> Generating temporary packing list /bin/mkdir -p /construction/games/libretro-mu/stage//usr/local/lib/libretro; install -s -m 0644 /construction/games/libretro-mu/Mu-1361da0/libretroBuildSystem/mu_libretro.so /construction/games/libretro-mu/stage//usr/local/lib/libretro; ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for libretro-mu-0.20220317 file sizes/checksums [1]: 0% file sizes/checksums [1]: 100% Service unavailablepacking files [1]: 0% packing files [1]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:10