>>> libretro-mu: Building testing/libretro-mu 0_git20220317-r0 (using abuild 3.13.0-r5) started Mon, 23 Sep 2024 10:29:06 +0000 >>> libretro-mu: Checking sanity of /home/buildozer/aports/testing/libretro-mu/APKBUILD... >>> libretro-mu: Analyzing dependencies... >>> libretro-mu: Installing for build: build-base (1/1) Installing .makedepends-libretro-mu (20240923.102919) OK: 251 MiB in 104 packages >>> libretro-mu: Cleaning up srcdir >>> libretro-mu: Cleaning up pkgdir >>> libretro-mu: Cleaning up tmpdir >>> libretro-mu: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-mu-1361da04014d77b8bec13e050a71bf7bf8ce5543.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libretro-mu: Fetching libretro-mu-1361da04014d77b8bec13e050a71bf7bf8ce5543.tar.gz::https://github.com/libretro/Mu/archive/1361da04014d77b8bec13e050a71bf7bf8ce5543.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15872 0 15872 0 0 29891 0 --:--:-- --:--:-- --:--:-- 29891 100 1145k 0 1145k 0 0 1380k 0 --:--:-- --:--:-- --:--:-- 3779k >>> libretro-mu: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-mu-1361da04014d77b8bec13e050a71bf7bf8ce5543.tar.gz >>> libretro-mu: Checking sha512sums... libretro-mu-1361da04014d77b8bec13e050a71bf7bf8ce5543.tar.gz: OK >>> libretro-mu: Unpacking /var/cache/distfiles/libretro-mu-1361da04014d77b8bec13e050a71bf7bf8ce5543.tar.gz... make: Entering directory '/home/buildozer/aports/testing/libretro-mu/src/Mu-1361da04014d77b8bec13e050a71bf7bf8ce5543/libretroBuildSystem' fatal: not a git repository (or any of the parent directories): .git gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o libretro.o libretro.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o cursors.o cursors.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/emulator.o ../src/emulator.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m5XXBus.o ../src/m5XXBus.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/dbvz.o ../src/dbvz.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/flx68000.o ../src/flx68000.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/sed1376.o ../src/sed1376.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/ads7846.o ../src/ads7846.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pdiUsbD12.o ../src/pdiUsbD12.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/sdCard.o ../src/sdCard.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/silkscreen.o ../src/silkscreen.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kops.o ../src/m68k/m68kops.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kopnz.o ../src/m68k/m68kopnz.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kopdm.o ../src/m68k/m68kopdm.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kopac.o ../src/m68k/m68kopac.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/m68k/m68kcpu.o ../src/m68k/m68kcpu.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/fileLauncher/launcher.o ../src/fileLauncher/launcher.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_DMA.o ../src/pxa260/pxa260_DMA.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_DSP.o ../src/pxa260/pxa260_DSP.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_GPIO.o ../src/pxa260/pxa260_GPIO.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_IC.o ../src/pxa260/pxa260_IC.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_LCD.o ../src/pxa260/pxa260_LCD.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_PwrClk.o ../src/pxa260/pxa260_PwrClk.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_RTC.o ../src/pxa260/pxa260_RTC.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_TIMR.o ../src/pxa260/pxa260_TIMR.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260_UART.o ../src/pxa260/pxa260_UART.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260I2c.o ../src/pxa260/pxa260I2c.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260Memctrl.o ../src/pxa260/pxa260Memctrl.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260Timing.o ../src/pxa260/pxa260Timing.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260Ssp.o ../src/pxa260/pxa260Ssp.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260Udc.o ../src/pxa260/pxa260Udc.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] 80 | 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] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ 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] 80 | 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] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ../src/pdiUsbD12.c:6: ./../include/portability.h: In function 'fillBottomWith1s': 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] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | 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] 84 | 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] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ../src/ads7846.c:4: ./../include/emulator.h: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | 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] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/pxa260/pxa260.o ../src/pxa260/pxa260.c ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ../src/m5XXBus.c:7: ./../include/portability.h: In function 'fillBottomWith1s': 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] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | 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] 49 | #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' 17 | 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] 51 | #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' 19 | 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] 49 | #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' 22 | 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] 51 | #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' 24 | static uint32_t ramRead32(uint32_t address){return M68K_BUFFER_READ_32(palmRam, address, dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask);} | ^~~~~~~~~~~~~~~~~~~ In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260_DMA.c:1: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': In file included from ../src/fileLauncher/launcher.c:7: ./../include/portability.h: In function 'fillBottomWith1s': ../src/m5XXBus.c: In function 'ramWrite8': In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260_GPIO.c:1: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': In file included from ../src/sdCard.c:63: ./../include/sdCardAccessors.c.h: In function 'sdCardResponseFifoReadByteOptimized': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | 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:52:107: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 52 | #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' 25 | static void ramWrite8(uint32_t address, uint8_t value){M68K_BUFFER_WRITE_8(palmRam, address, dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask, value);} | ^~~~~~~~~~~~~~~~~~~ ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/sdCardAccessors.c.h:52:85: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 52 | byte = palmSdCard.responseFifo[palmSdCard.responseReadPosition] << 7 - palmSdCard.responseReadPositionBit; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/sdCardAccessors.c.h:54:119: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 54 | byte |= palmSdCard.responseFifo[palmSdCard.responseReadPosition] >> palmSdCard.responseReadPositionBit + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/m5XXBus.h:49:99: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 49 | #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' 14 | static uint8_t registerArrayRead8(uint32_t address){return M68K_BUFFER_READ_8(dbvzReg, address, 0xFFF);} | ^~~~~~~~~~~~~~~~~~ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/m5XXBus.c: In function 'ramWrite32': ./../include/m5XXBus.h:54:177: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 54 | #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' 27 | static void ramWrite32(uint32_t address, uint32_t value){M68K_BUFFER_WRITE_32(palmRam, address, dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask, value);} | ^~~~~~~~~~~~~~~~~~~~ In file included from ../src/emulator.c:15: ./../include/portability.h: In function 'fillBottomWith1s': In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_LCD.h:4, from ../src/pxa260/pxa260_LCD.c:1: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/dbvzRegisterAccessors.c.h: In function 'registerArrayRead32': ../src/m5XXBus.c: In function 'sed1376Read16': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/m5XXBus.h:51:159: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 51 | #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' 16 | static uint32_t registerArrayRead32(uint32_t address){return M68K_BUFFER_READ_32(dbvzReg, address, 0xFFF);} | ^~~~~~~~~~~~~~~~~~~ ./../include/m5XXBus.h:56:136: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 56 | #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' 46 | return M68K_BUFFER_READ_16_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/portability.h: In function 'fillTopWith1s': ./../include/sdCardAccessors.c.h: In function 'sdCardDoResponseDataPacket': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/dbvzRegisterAccessors.c.h: In function 'registerArrayWrite8': ./../include/sdCardAccessors.c.h:111:27: warning: passing argument 1 of 'sdCardCrc16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | crc16 = sdCardCrc16(data, size); | ^~~~ ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/m5XXBus.h:52:107: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 52 | #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' 17 | static void registerArrayWrite8(uint32_t address, uint8_t value){M68K_BUFFER_WRITE_8(dbvzReg, address, 0xFFF, value);} | ^~~~~~~~~~~~~~~~~~~ ../src/m5XXBus.c: In function 'sed1376Read32': ../src/sdCard.c:52:38: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 52 | static uint16_t sdCardCrc16(uint8_t* data, uint16_t size){ | ~~~~~~~~~^~~~ ./../include/m5XXBus.h:57:137: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 57 | #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' 56 | 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] 57 | #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' 56 | return M68K_BUFFER_READ_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'registerArrayWrite32': ./../include/m5XXBus.h:54:177: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 54 | #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' 19 | static void registerArrayWrite32(uint32_t address, uint32_t value){M68K_BUFFER_WRITE_32(dbvzReg, address, 0xFFF, value);} | ^~~~~~~~~~~~~~~~~~~~ ./../include/m5XXBus.h:57:228: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 57 | #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' 56 | return M68K_BUFFER_READ_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/sdCardAccessors.c.h: In function 'sdCardGetCsd': In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_PwrClk.h:4, from ../src/pxa260/pxa260_PwrClk.c:1: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/sdCardAccessors.c.h:137:20: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 137 | csd[6] = csd[6] & 0xFC | deviceSize >> 10 & 0x03; | ~~~~~~~^~~~~~ ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ../src/m5XXBus.c: In function 'sed1376Write16': ./../include/m5XXBus.h:59:153: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 59 | #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' 68 | M68K_BUFFER_WRITE_16_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/sdCardAccessors.c.h:139:20: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 139 | csd[8] = csd[8] & 0x3F | deviceSize << 6 & 0xC0; | ~~~~~~~^~~~~~ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ../src/pxa260/pxa260_IC.c:1: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260_TIMR.c:1: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/m5XXBus.c: In function 'sed1376Write32': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/m5XXBus.h:60:154: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 60 | #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' 74 | M68K_BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/m5XXBus.h:60:218: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 60 | #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' 74 | M68K_BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/m5XXBus.h:60:281: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 60 | #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' 74 | M68K_BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, dbvzChipSelects[DBVZ_CHIP_B0_SED].mask, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ../src/pxa260/pxa260_DSP.c:2: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ../src/pxa260/pxa260_DMA.c: In function 'pxa260dmaPrvChannelRegWrite': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ../src/pxa260/pxa260_DMA.c:15:29: warning: unused variable 'regs' [-Wunused-variable] 15 | const char* regs[] = {"DADDR", "SADDR", "TADDR", "CR", "CSR"}; | ^~~~ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_UART.h:4, from ../src/pxa260/pxa260_UART.c:1: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260_RTC.c:8: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from libretro.c:17: ./../include/portability.h: In function 'fillBottomWith1s': In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260I2c.c:4: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ../src/dbvz.c:57: ./../include/dbvzRegisterAccessors.c.h: In function 'setCsb': ./../include/portability.h: In function 'fillTopWith1s': ./../include/portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/dbvzRegisterAccessors.c.h:253:112: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 253 | dbvzChipSelects[DBVZ_CHIP_B0_SED].unprotectedSize = dbvzChipSelects[DBVZ_CHIP_B0_SED].lineSize / (1 << 7 - ((value >> 11 & 0x0003) | 0x0004)); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pxa260/pxa260_DMA.c: At top level: ../src/pxa260/pxa260_DMA.c:35:16: warning: 'pxa260dmaPrvMemAccessF' defined but not used [-Wunused-function] 35 | static Boolean pxa260dmaPrvMemAccessF(void* userData, UInt32 pa, UInt8 size, Boolean write, void* buf){ | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:255:112: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 255 | dbvzChipSelects[DBVZ_CHIP_B0_SED].unprotectedSize = dbvzChipSelects[DBVZ_CHIP_B0_SED].lineSize / (1 << 7 - (value >> 11 & 0x0003)); | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/pxa260/pxa260_LCD.c: In function 'pxa260LcdScreenDataPixel': ../src/pxa260/pxa260_LCD.c:220:47: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 220 | pxa260Framebuffer[pos] = buf[0] || (buf[1] << 8); | ~~~~~~~~^~~~~ ../src/sdCard.c: In function 'sdCardExchangeBit': ./../include/dbvzRegisterAccessors.c.h: In function 'setCsd': ../src/sdCard.c:416:101: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 416 | palmSdCard.runningCommandPacket[palmSdCard.runningCommandVars[2] / 8] |= bit << 7 - palmSdCard.runningCommandVars[2] % 8; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:282:112: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 282 | 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] 284 | dbvzChipSelects[DBVZ_CHIP_DX_RAM].unprotectedSize = dbvzChipSelects[DBVZ_CHIP_DX_RAM].lineSize / (1 << 7 - (value >> 11 & 0x0003)); | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/sdCard.c: In function 'sdCardExchangeXBitsUnoptimized': ../src/sdCard.c:463:30: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 463 | uint32_t mask = 1 << size - 1; | ~~~~~^~~ ../src/sdCard.c: In function 'sdCardExchangeXBitsOptimized': In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260Timing.c:5: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ../src/pxa260/pxa260_PwrClk.c: In function 'pxa260pwrClkPrvCoprocRegXferFunc': ../src/sdCard.c:485:106: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 485 | bool ignoreCmdBits = palmSdCard.commandBitsRemaining == 48 && (bits == all1s || bits == 0x00000000 && !(size & 0x1)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/pxa260/pxa260_PwrClk.c:18:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 18 | if(read){ | ^ ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ../src/pxa260/pxa260_PwrClk.c:34:25: note: here 34 | case 7: | ^~~~ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/pxa260/pxa260I2c.c: In function 'pxa260I2cUpdateInterrupt': ../src/pxa260/pxa260I2c.c:29:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 29 | if(pxa260I2cIcr & 0x0100 && pxa260I2cIsr & 0x0040 || pxa260I2cIcr & 0x0200 && pxa260I2cIsr & 0x0080) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/sdCard.c:486:115: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 486 | bool safeToOptimize = !palmSdCard.receivingCommand || ignoreCmdBits || palmSdCard.commandBitsRemaining > 47 && palmSdCard.commandBitsRemaining - size < 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/pxa260/pxa260_types.h:9, from ./../include/pxa260/pxa260_math64.h:4, from ../src/pxa260/pxa260_DSP.c:1: ./../include/pxa260/../emulator.h: At top level: ./../include/pxa260/../emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | static void debugLog(char* str, ...){}; | ^~~~~~~~ ../src/pxa260/pxa260_RTC.c: At top level: ../src/pxa260/pxa260_RTC.c:51:16: warning: 'pxa260rtcPrvMemAccessF' defined but not used [-Wunused-function] 51 | static Boolean pxa260rtcPrvMemAccessF(void* userData, UInt32 pa, UInt8 size, Boolean write, void* buf){ | ^~~~~~~~~~~~~~~~~~~~~~ ../src/pxa260/pxa260I2c.c: In function 'pxa260I2cWriteWord': ../src/pxa260/pxa260I2c.c:119:68: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 119 | tps65010I2cExchange((pxa260I2cBuffer & 1 << 7 - index) ? I2C_1 : I2C_0); | ~~^~~~~~~ ../src/sdCard.c:536:85: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 536 | palmSdCard.runningCommandPacket[currentByte] = bits >> (size - 8) - (index * 8) & 0xFF; | ~~~~~~~~~~~^~~~~~~~~~~~~ ../src/pxa260/pxa260I2c.c:129:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 129 | pxa260I2cIcr = value & 0xFFFF | pxa260I2cIcr & 0x0008; | ~~~~~~^~~~~~~~ In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260Ssp.c:5: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/dbvzRegisterAccessors.c.h: In function 'updateUart1Interrupt': ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/m5XXBus.c: At top level: ./../include/dbvzRegisterAccessors.c.h:585:19: warning: unused variable 'urx1' [-Wunused-variable] 585 | uint16_t urx1 = registerArrayRead16(URX1); | ^~~~ In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260Udc.c:3: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ../src/m5XXBus.c:90:13: warning: 'probeWrite' defined but not used [-Wunused-function] 90 | static bool probeWrite(uint8_t bank, uint32_t address){ | ^~~~~~~~~~ ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ../src/m5XXBus.c:79:13: warning: 'probeRead' defined but not used [-Wunused-function] 79 | static bool probeRead(uint8_t bank, uint32_t address){ | ^~~~~~~~~ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/dbvzRegisterAccessors.c.h:602:19: warning: unused variable 'utx1' [-Wunused-variable] 602 | uint16_t utx1 = registerArrayRead16(UTX1); | ^~~~ In file included from ../src/flx68000.c:4: ./../include/emulator.h: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | static void debugLog(char* str, ...){}; | ^~~~~~~~ ./../include/dbvzRegisterAccessors.c.h: In function 'updateUart2Interrupt': In file included from ./../include/pxa260/pxa260_types.h:9, from ./../include/pxa260/pxa260_CPU.h:4: ./../include/pxa260/../emulator.h: At top level: ../src/pxa260/pxa260_UART.c: At top level: ./../include/pxa260/../emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | static void debugLog(char* str, ...){}; | ^~~~~~~~ ../src/pxa260/pxa260_UART.c:218:16: warning: 'pxa260uartPrvMemAccessF' defined but not used [-Wunused-function] 218 | static Boolean pxa260uartPrvMemAccessF(void* userData, UInt32 pa, UInt8 size, Boolean write, void* buf){ | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/sdCard.c:505:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 505 | returnBits |= sdCardResponseFifoReadByteOptimized() << 24; | ^~ ./../include/dbvzRegisterAccessors.c.h:666:19: warning: unused variable 'urx2' [-Wunused-variable] 666 | uint16_t urx2 = registerArrayRead16(URX2); | ^~~~ ../src/emulator.c: In function 'emulatorRunFrame': ../src/sdCard.c:506:16: note: here 506 | case 24: | ^~~~ libretro.c: In function 'retro_unserialize': ../src/sdCard.c:507:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 507 | returnBits |= sdCardResponseFifoReadByteOptimized() << 16; | ^~ ../src/emulator.c:778:64: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 778 | palmFramebuffer[index] = palmFramebuffer[index] & 0xF81F | FAST_MIN(greenChannel, 0x07E0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../src/pxa260/pxa260Udc.c: In function 'pxa260UdcWriteWord': ./../include/dbvzRegisterAccessors.c.h:683:19: warning: unused variable 'utx2' [-Wunused-variable] 683 | uint16_t utx2 = registerArrayRead16(UTX2); | ^~~~ ../src/pxa260/pxa260Udc.c:117:42: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 117 | pxa260UdcUdccr = pxa260UdcUdccr & 0x5E | value & 0xA1;//write normal bits | ~~~~~~~~~~~~~~~^~~~~~ ../src/sdCard.c:508:16: note: here 508 | case 16: | ^~~~ libretro.c:703:29: warning: passing argument 1 of 'emulatorLoadState' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 703 | 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 *' 224 | bool emulatorLoadState(uint8_t* data, uint32_t size);//true = success | ~~~~~~~~~^~~~ ../src/pxa260/pxa260Udc.c:158:42: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 158 | pxa260UdcUfnhr = pxa260UdcUfnhr & 0xBF | value & 0x40;//write normal bits | ~~~~~~~~~~~~~~~^~~~~~ ../src/sdCard.c:509:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 509 | returnBits |= sdCardResponseFifoReadByteOptimized() << 8; | ^~ ../src/pxa260/pxa260Ssp.c: In function 'pxa260SspTransferComplete': ../src/sdCard.c:510:16: note: here 510 | case 8: | ^~~~ ../src/pxa260/pxa260Ssp.c:241:57: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 241 | input |= tsc2101ExchangeBit(output >> bitCount - index & 0x0001); | ~~~~~~~~~^~~~~~~ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/emuVarPool.o ../src/armv5te/emuVarPool.c ../src/fileLauncher/launcher.c: In function 'launcherM5XXCallGuestFunction': ../src/fileLauncher/launcher.c:150:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 150 | 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] 213 | args[2] = 'appl'; | ^~~~~~ ./../include/emulator.h: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | static void debugLog(char* str, ...){}; | ^~~~~~~~ ../src/fileLauncher/launcher.c: In function 'launcherIsExecutable': ../src/fileLauncher/launcher.c:416:21: warning: multi-character character constant [-Wmultichar] 416 | if(type == 'appl') | ^~~~~~ ../src/fileLauncher/launcher.c: In function 'launcherGetAppId': gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/mem.o ../src/armv5te/mem.c ../src/fileLauncher/launcher.c:432:21: warning: multi-character character constant [-Wmultichar] 432 | if(type == 'appl') | ^~~~~~ 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] 295 | 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] 295 | 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] 297 | 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] 297 | if(time[0] > alarmHours || time[0] == alarmHours && time[1] > alarmMinutes || time[0] == alarmHours && time[1] == alarmMinutes && time[0] >= alarmSeconds){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/mmu.o ../src/armv5te/mmu.c In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/pxa260/pxa260.c:4: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ../src/fileLauncher/launcher.c:6: ./../include/emulator.h: At top level: ./../include/emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | static void debugLog(char* str, ...){}; | ^~~~~~~~ ../src/dbvz.c: In function 'dbvzLcdRender': ../src/dbvz.c:95:118: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 95 | 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] 113 | 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] 113 | 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] 126 | 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] 126 | 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] 310 | uint8_t portDInterruptTriggered = portDInterruptValue & portDInterruptEnabled & portDIsInput & (~portDInterruptEdgeTriggered | ~portDInterruptLastValue & (dbvzIsPllOn() ? 0xFF : 0xF0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pxa260/pxa260.c: In function 'pxa260SaveState': ../src/pxa260/pxa260.c:232:13: warning: unused variable 'offset' [-Wunused-variable] 232 | uint32_t offset = 0; | ^~~~~~ ../src/pxa260/pxa260.c: In function 'pxa260LoadState': ../src/pxa260/pxa260.c:237:13: warning: unused variable 'offset' [-Wunused-variable] 237 | uint32_t offset = 0; | ^~~~~~ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/tps65010.o ../src/tps65010.c ../src/dbvz.c: In function 'dbvzSetRtc': ../src/dbvz.c:1427:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1427 | registerArrayWrite32(RTCTIME, hours << 24 & 0x1F000000 | minutes << 16 & 0x003F0000 | seconds & 0x0000003F); | ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/dbvz.c:1427:98: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1427 | registerArrayWrite32(RTCTIME, hours << 24 & 0x1F000000 | minutes << 16 & 0x003F0000 | seconds & 0x0000003F); | ~~~~~~~~^~~~~~~~~~~~ In file included from ./../include/armv5te/emu.h:14, from ../src/armv5te/emuVarPool.c:8: ./../include/armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'fillTopWith1s': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ./../include/armv5te/emu.h:13: ./../include/armv5te/../emulator.h: At top level: ./../include/armv5te/../emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | static void debugLog(char* str, ...){}; | ^~~~~~~~ In file included from ./../include/armv5te/emu.h:14, from ../src/armv5te/mem.c:6: ./../include/armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'fillTopWith1s': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/armv5te/mem.c: In function 'write_action': ../src/armv5te/mem.c:62:15: warning: unused variable 'flags' [-Wunused-variable] 62 | uint32_t *flags = &RAM_FLAGS((size_t)ptr & ~3); | ^~~~~ ../src/armv5te/mem.c:61:14: warning: unused variable 'addr' [-Wunused-variable] 61 | uint32_t addr = phys_mem_addr(ptr); | ^~~~ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/tsc2101.o ../src/tsc2101.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/w86l488.o ../src/w86l488.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/os/os-linux.o ../src/armv5te/os/os-linux.c gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/asmcode.o ../src/armv5te/asmcode.c In file included from ./../include/armv5te/emu.h:14, from ../src/armv5te/mmu.c:4: ./../include/armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'fillTopWith1s': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/dbvzRegisterAccessors.c.h: At top level: ./../include/dbvzRegisterAccessors.c.h:634:13: warning: 'updateUart2PortState' defined but not used [-Wunused-function] 634 | static void updateUart2PortState(void){ | ^~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:556:13: warning: 'updateUart1PortState' defined but not used [-Wunused-function] 556 | static void updateUart1PortState(void){ | ^~~~~~~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:136:17: warning: 'uart2RxFifoRead' defined but not used [-Wunused-function] 136 | static uint16_t uart2RxFifoRead(void){ | ^~~~~~~~~~~~~~~ ./../include/dbvzRegisterAccessors.c.h:98:17: warning: 'uart1RxFifoRead' defined but not used [-Wunused-function] 98 | static uint16_t uart1RxFifoRead(void){ | ^~~~~~~~~~~~~~~ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 ../src/pxa260/pxa260Timing.c: In function 'pxa260TimingRun': ../src/pxa260/pxa260Timing.c:69:30: warning: argument 'cycles' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 69 | void pxa260TimingRun(int32_t cycles){ | ~~~~~~~~^~~~~~ In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_GPIO.h:4, from ../src/tps65010.c:6: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/tps65010.c: In function 'tps65010ReadGpio': ../src/tps65010.c:48:38: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 48 | return tps65010Registers[DEFGPIO] & (0xF0 | direction) | inputVoltage & ~direction; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../src/tps65010.c: In function 'tps65010WriteGpio': ../src/tps65010.c:58:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 58 | tps65010Registers[DEFGPIO] = direction << 4 | voltage & direction | tps65010Registers[DEFGPIO] & 0x0F & ~direction; | ~~~~~~~~^~~~~~~~~~~ ../src/tps65010.c:58:106: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 58 | tps65010Registers[DEFGPIO] = direction << 4 | voltage & direction | tps65010Registers[DEFGPIO] & 0x0F & ~direction; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../src/tps65010.c: In function 'tps65010SaveState': ../src/tps65010.c:139:13: warning: unused variable 'offset' [-Wunused-variable] 139 | uint32_t offset = 0; | ^~~~~~ ../src/tps65010.c: In function 'tps65010LoadState': ../src/tps65010.c:144:13: warning: unused variable 'offset' [-Wunused-variable] 144 | uint32_t offset = 0; | ^~~~~~ ../src/tps65010.c: In function 'tps65010UpdateInterrupt': ../src/tps65010.c:222:4: warning: label 'trigger' defined but not used [-Wunused-label] 222 | trigger: | ^~~~~~~ ../src/tps65010.c: At top level: ../src/tps65010.c:51:13: warning: 'tps65010WriteGpio' defined but not used [-Wunused-function] 51 | static void tps65010WriteGpio(uint8_t value){ | ^~~~~~~~~~~~~~~~~ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 ../src/w86l488.c: In function 'w86l488SaveState': ../src/w86l488.c:17:13: warning: unused variable 'offset' [-Wunused-variable] 17 | uint32_t offset = 0; | ^~~~~~ ../src/w86l488.c: In function 'w86l488LoadState': ../src/w86l488.c:22:13: warning: unused variable 'offset' [-Wunused-variable] 22 | uint32_t offset = 0; | ^~~~~~ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 In file included from ./../include/pxa260/../armv5te/emu.h:14, from ./../include/pxa260/pxa260_CPU.h:7, from ./../include/pxa260/pxa260_IC.h:4, from ./../include/pxa260/pxa260.h:10, from ../src/tsc2101.c:7: ./../include/pxa260/../armv5te/../portability.h: In function 'fillBottomWith1s': In file included from ./../include/armv5te/emu.h:14, from ./../include/armv5te/asmcode.h:6, from ../src/armv5te/asmcode.c:1: ./../include/armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/pxa260/../armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'fillTopWith1s': ./../include/pxa260/../armv5te/../portability.h: In function 'fillTopWith1s': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/pxa260/../armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/tsc2101.c: In function 'tsc2101RegisterRead': ../src/tsc2101.c:203:57: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 203 | return tsc2101Registers[TOUCH_CONTROL_TSC_ADC] & 0x3FFF | palmInput.touchscreenTouched << 15 | 1 << 14/*TODO: this states the ADC is never busy*/; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./../include/armv5te/emu.h:14, from ./../include/armv5te/mmu.h:5, from ../src/armv5te/os/os-linux.c:20: ./../include/armv5te/../portability.h: In function 'fillBottomWith1s': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'fillTopWith1s': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ./../include/armv5te/emu.h:13: ./../include/armv5te/../emulator.h: At top level: ./../include/armv5te/../emulator.h:42:13: warning: 'debugLog' defined but not used [-Wunused-function] 42 | static void debugLog(char* str, ...){}; | ^~~~~~~~ ../src/tsc2101.c: In function 'tsc2101StateSize': ../src/tsc2101.c:356:1: warning: control reaches end of non-void function [-Wreturn-type] 356 | } | ^ gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 gcc -I./../include -I./libretro-common/include -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -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 g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=c++11 -I./../include -I./libretro-common/include -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/arm_interpreter.o ../src/armv5te/arm_interpreter.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=c++11 -I./../include -I./libretro-common/include -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/thumb_interpreter.o ../src/armv5te/thumb_interpreter.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=c++11 -I./../include -I./libretro-common/include -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/cpu.o ../src/armv5te/cpu.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=c++11 -I./../include -I./libretro-common/include -DEMU_NO_SAFETY -DEMU_SUPPORT_PALM_OS5 -DSUPPORT_LINUX -DNO_TRANSLATION -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -c -o ../src/armv5te/coproc.o ../src/armv5te/coproc.cpp In file included from ./../include/armv5te/emu.h:14, from ./../include/armv5te/mmu.h:5, from ../src/armv5te/coproc.cpp:3: ./../include/armv5te/../portability.h: In function 'uintmax_t fillBottomWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'uintmax_t fillTopWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/armv5te/coproc.cpp: In function 'void do_cp15_mrc(uint32_t)': ../src/armv5te/coproc.cpp:62:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | warn("Unknown coprocessor instruction MRC %08X", insn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:44:28: note: in definition of macro 'warn' 44 | #define warn(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/coproc.cpp: In function 'void do_cp15_mcr(uint32_t)': ../src/armv5te/coproc.cpp:90:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | emuprintf("Turned MMU %s\n", value & 1 ? "on" : "off"); | ^~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:40:33: note: in definition of macro 'emuprintf' 40 | #define emuprintf(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/coproc.cpp:112:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | emuprintf("Wait for interrupt, does not work with uARM core!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:40:33: note: in definition of macro 'emuprintf' 40 | #define emuprintf(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/coproc.cpp:145:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | warn("Unknown coprocessor instruction MCR %08X\n", insn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:44:28: note: in definition of macro 'warn' 44 | #define warn(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/coproc.cpp: In function 'void do_cp14_instruction(Instruction)': ../src/armv5te/coproc.cpp:168:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | warn("Unknown coprocessor instruction MCR %08X\n", instr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:44:28: note: in definition of macro 'warn' 44 | #define warn(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ In file included from ./../include/armv5te/emu.h:14, from ./../include/armv5te/asmcode.h:6, from ../src/armv5te/arm_interpreter.cpp:3: ./../include/armv5te/../portability.h: In function 'uintmax_t fillBottomWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ./../include/armv5te/emu.h:14, from ./../include/armv5te/asmcode.h:6, from ../src/armv5te/thumb_interpreter.cpp:1: ./../include/armv5te/../portability.h: In function 'uintmax_t fillBottomWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'uintmax_t fillTopWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'uintmax_t fillTopWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ In file included from ./../include/armv5te/emu.h:14, from ./../include/armv5te/asmcode.h:6, from ../src/armv5te/cpu.cpp:13: ./../include/armv5te/../portability.h: In function 'uintmax_t fillBottomWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:80:58: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 80 | return value | (UINTMAX_MAX >> SIZEOF_BITS(uintmax_t) - count); | ^ ./../include/armv5te/../portability.h: In function 'uintmax_t fillTopWith1s(uintmax_t, uint8_t)': ./../include/armv5te/../portability.h:84:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 84 | return value | (UINTMAX_MAX << SIZEOF_BITS(uintmax_t) - count); | ^ ../src/armv5te/thumb_interpreter.cpp: In function 'void cpu_thumb_loop()': ../src/armv5te/thumb_interpreter.cpp:95:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | gui_debug_printf("Breakpoint at 0x%08X\n", arm.reg[15]); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:50:40: note: in definition of macro 'gui_debug_printf' 50 | #define gui_debug_printf(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/thumb_interpreter.cpp:128:33: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 128 | uint32_t *dst = ®0; | ^ ../src/armv5te/arm_interpreter.cpp: In function 'void do_arm_instruction(Instruction)': ../src/armv5te/arm_interpreter.cpp:379:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 379 | gui_debug_printf("Software breakpoint at %08X (%04X)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:50:40: note: in definition of macro 'gui_debug_printf' 50 | #define gui_debug_printf(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/arm_interpreter.cpp:491:33: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 491 | uint32_t *reg_ptr = &arm.reg[reg]; | ^~~~~~~~~~~~~ ../src/armv5te/arm_interpreter.cpp:496:73: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 496 | if (mode != MODE_USR && mode != MODE_SYS) reg_ptr = &arm.r13_usr[reg - 13]; | ^~~~~~~~~~~~~~~~~~~~~~ ../src/armv5te/arm_interpreter.cpp:498:53: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 498 | if (mode == MODE_FIQ) reg_ptr = &arm.r8_usr[reg - 8]; | ^~~~~~~~~~~~~~~~~~~~ ../src/armv5te/arm_interpreter.cpp:531:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 531 | gui_debug_printf("ARM DAL function call, jump from 0x%08X to 0x%08X\n", arm.reg[14] - 4, arm.reg[15]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:50:40: note: in definition of macro 'gui_debug_printf' 50 | #define gui_debug_printf(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/cpu.cpp: In function 'void cpu_arm_loop()': ../src/armv5te/cpu.cpp:68:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | gui_debug_printf("Breakpoint at 0x%08X\n", arm.reg[15]); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:50:40: note: in definition of macro 'gui_debug_printf' 50 | #define gui_debug_printf(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/cpu.cpp: In function 'void prefetch_abort(uint32_t, uint8_t)': ../src/armv5te/cpu.cpp:118:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | warn("Prefetch abort: address=%08X status=%02X\n", mva, status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:44:28: note: in definition of macro 'warn' 44 | #define warn(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/cpu.cpp: In function 'void data_abort(uint32_t, uint8_t)': ../src/armv5te/cpu.cpp:131:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | warn("Data abort: address=%08X status=%02X instruction at %08X\n", mva, status, arm.reg[15]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:44:28: note: in definition of macro 'warn' 44 | #define warn(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/cpu.cpp: In function 'void undefined_instruction()': ../src/armv5te/cpu.cpp:143:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | warn("Undefined instruction 0x%08X at 0x%08X\n", read_word(arm.reg[15]), arm.reg[15]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:44:28: note: in definition of macro 'warn' 44 | #define warn(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/cpu.cpp:145:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | warn("Undefined instruction 0x%04X at 0x%08X\n", read_half(arm.reg[15]), arm.reg[15]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/armv5te/emu.h:44:28: note: in definition of macro 'warn' 44 | #define warn(...) debugLog(__VA_ARGS__) | ^~~~~~~~~~~ ../src/armv5te/cpu.cpp: In function 'void set_cpsr_full(uint32_t)': ../src/armv5te/cpu.cpp:283:50: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 283 | std::copy(arm.reg + 8, arm.reg + 13, arm.r8_fiq); | ~~~~^~~~~~ ../src/armv5te/cpu.cpp:285:50: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 285 | std::copy(arm.reg + 8, arm.reg + 13, arm.r8_usr); | ~~~~^~~~~~ ../src/armv5te/cpu.cpp:290:51: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 290 | std::copy(arm.reg + 13, arm.reg + 15, arm.r13_usr); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:293:51: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 293 | std::copy(arm.reg + 13, arm.reg + 15, arm.r13_fiq); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:296:51: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 296 | std::copy(arm.reg + 13, arm.reg + 15, arm.r13_irq); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:299:51: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 299 | std::copy(arm.reg + 13, arm.reg + 15, arm.r13_svc); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:302:51: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 302 | std::copy(arm.reg + 13, arm.reg + 15, arm.r13_abt); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:305:51: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 305 | std::copy(arm.reg + 13, arm.reg + 15, arm.r13_und); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:311:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 311 | std::copy(arm.r8_fiq, arm.r8_fiq + 5, arm.reg + 8); | ~~~~^~~~~~ ../src/armv5te/cpu.cpp:313:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 313 | std::copy(arm.r8_usr, arm.r8_usr + 5, arm.reg + 8); | ~~~~^~~~~~ ../src/armv5te/cpu.cpp:318:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 318 | std::copy(arm.r13_usr, arm.r13_usr + 2, arm.reg + 13); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:321:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 321 | std::copy(arm.r13_fiq, arm.r13_fiq + 2, arm.reg + 13); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:324:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 324 | std::copy(arm.r13_irq, arm.r13_irq + 2, arm.reg + 13); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:327:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 327 | std::copy(arm.r13_svc, arm.r13_svc + 2, arm.reg + 13); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:330:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | std::copy(arm.r13_abt, arm.r13_abt + 2, arm.reg + 13); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp:333:23: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 333 | std::copy(arm.r13_und, arm.r13_und + 2, arm.reg + 13); | ~~~~^~~~~~~ ../src/armv5te/cpu.cpp: In function 'uint32_t* ptr_spsr()': ../src/armv5te/cpu.cpp:369:31: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 369 | case MODE_FIQ: return &arm.spsr_fiq; | ^~~~~~~~~~~~~ ../src/armv5te/cpu.cpp:370:31: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 370 | case MODE_IRQ: return &arm.spsr_irq; | ^~~~~~~~~~~~~ ../src/armv5te/cpu.cpp:371:31: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 371 | case MODE_SVC: return &arm.spsr_svc; | ^~~~~~~~~~~~~ ../src/armv5te/cpu.cpp:372:31: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 372 | case MODE_ABT: return &arm.spsr_abt; | ^~~~~~~~~~~~~ ../src/armv5te/cpu.cpp:373:31: warning: taking address of packed member of 'arm_state' may result in an unaligned pointer value [-Waddress-of-packed-member] 373 | case MODE_UND: return &arm.spsr_und; | ^~~~~~~~~~~~~ ** BUILDING mu_libretro.so FOR PLATFORM unix ** gcc -fPIC -shared -Wl,--version-script=build/link.T -I./../include -I./libretro-common/include -Wl,--as-needed,-O1,--sort-common -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 ./../src/pxa260/pxa260_DMA.o ./../src/pxa260/pxa260_DSP.o ./../src/pxa260/pxa260_GPIO.o ./../src/pxa260/pxa260_IC.o ./../src/pxa260/pxa260_LCD.o ./../src/pxa260/pxa260_PwrClk.o ./../src/pxa260/pxa260_RTC.o ./../src/pxa260/pxa260_TIMR.o ./../src/pxa260/pxa260_UART.o ./../src/pxa260/pxa260I2c.o ./../src/pxa260/pxa260Memctrl.o ./../src/pxa260/pxa260Timing.o ./../src/pxa260/pxa260Ssp.o ./../src/pxa260/pxa260Udc.o ./../src/pxa260/pxa260.o ./../src/armv5te/emuVarPool.o ./../src/armv5te/mem.o ./../src/armv5te/mmu.o ./../src/tps65010.o ./../src/tsc2101.o ./../src/w86l488.o ./../src/armv5te/os/os-linux.o ./../src/armv5te/asmcode.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 ./../src/armv5te/arm_interpreter.o ./../src/armv5te/thumb_interpreter.o ./../src/armv5te/cpu.o ./../src/armv5te/coproc.o -lm make: Leaving directory '/home/buildozer/aports/testing/libretro-mu/src/Mu-1361da04014d77b8bec13e050a71bf7bf8ce5543/libretroBuildSystem' >>> libretro-mu: Entering fakeroot... >>> libretro-mu*: Running postcheck for libretro-mu >>> libretro-mu*: Preparing package libretro-mu... >>> libretro-mu*: Stripping binaries >>> libretro-mu*: Scanning shared objects >>> libretro-mu*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> libretro-mu*: Package size: 660.0 KB >>> libretro-mu*: Compressing data... >>> libretro-mu*: Create checksum... >>> libretro-mu*: Create libretro-mu-0_git20220317-r0.apk >>> libretro-mu: Build complete at Mon, 23 Sep 2024 10:29:27 +0000 elapsed time 0h 0m 21s >>> libretro-mu: Cleaning up srcdir >>> libretro-mu: Cleaning up pkgdir >>> libretro-mu: Uninstalling dependencies... (1/1) Purging .makedepends-libretro-mu (20240923.102919) OK: 251 MiB in 103 packages >>> libretro-mu: Updating the testing/loongarch64 repository index... >>> libretro-mu: Signing the index...