>>> libretro-bluemsx: Building testing/libretro-bluemsx 0_git20220213-r0 (using abuild 3.13.0-r5) started Mon, 23 Sep 2024 14:43:36 +0000 >>> libretro-bluemsx: Checking sanity of /home/buildozer/aports/testing/libretro-bluemsx/APKBUILD... >>> libretro-bluemsx: Analyzing dependencies... >>> libretro-bluemsx: Installing for build: build-base zlib-dev (1/2) Installing zlib-dev (1.3.1-r2) (2/2) Installing .makedepends-libretro-bluemsx (20240923.144348) OK: 251 MiB in 105 packages >>> libretro-bluemsx: Cleaning up srcdir >>> libretro-bluemsx: Cleaning up pkgdir >>> libretro-bluemsx: Cleaning up tmpdir >>> libretro-bluemsx: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-bluemsx-92d0c41b4973854114c7b2d06ab727a266d404c5.tar.gz >>> libretro-bluemsx: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-bluemsx-92d0c41b4973854114c7b2d06ab727a266d404c5.tar.gz >>> libretro-bluemsx: Checking sha512sums... libretro-bluemsx-92d0c41b4973854114c7b2d06ab727a266d404c5.tar.gz: OK patch-unbundle.patch: OK >>> libretro-bluemsx: Unpacking /var/cache/distfiles/libretro-bluemsx-92d0c41b4973854114c7b2d06ab727a266d404c5.tar.gz... >>> libretro-bluemsx: patch-unbundle.patch patching file Makefile.common fatal: not a git repository (or any of the parent directories): .git gcc -c -olibretro.o libretro.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Dialog.o Src/Libretro/Dialog.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Event.o Src/Libretro/Event.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/File.o Src/Libretro/File.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Glob.o Src/Libretro/Glob.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Input.o Src/Libretro/Input.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Menu.o Src/Libretro/Menu.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Midi.o Src/Libretro/Midi.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Notifications.o Src/Libretro/Notifications.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Printer.o Src/Libretro/Printer.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Sound.o Src/Libretro/Sound.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Timer.o Src/Libretro/Timer.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Uart.o Src/Libretro/Uart.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/VideoIn.o Src/Libretro/VideoIn.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Eth.o Src/Libretro/Eth.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Cdrom.o Src/Libretro/Cdrom.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Mouse.o Src/Libretro/Mouse.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Libretro/Emulator.o Src/Libretro/Emulator.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Common/ArrayList.o Src/Common/ArrayList.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Bios/Patch.o Src/Bios/Patch.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Unzip/unzip.o Src/Unzip/unzip.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Unzip/ioapi.o Src/Unzip/ioapi.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Unzip/zip.o Src/Unzip/zip.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/AtmelPerom.o Src/Memory/AtmelPerom.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/AmdFlash.o Src/Memory/AmdFlash.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/DeviceManager.o Src/Memory/DeviceManager.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/IoPort.o Src/Memory/IoPort.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/MegaromCartridge.o Src/Memory/MegaromCartridge.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/MegaSCSIsub.o Src/Memory/MegaSCSIsub.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/ram1kBMirrored.o Src/Memory/ram1kBMirrored.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/ramMapper.o Src/Memory/ramMapper.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/ramMapperIo.o Src/Memory/ramMapperIo.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/ramNormal.o Src/Memory/ramNormal.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/RomLoader.o Src/Memory/RomLoader.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/romMapperA1FM.o Src/Memory/romMapperA1FM.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/romMapperA1FMModem.o Src/Memory/romMapperA1FMModem.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/romMapperActivisionPcb.o Src/Memory/romMapperActivisionPcb.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/romMapperArc.o Src/Memory/romMapperArc.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro gcc -c -oSrc/Memory/romMapperASCII16.o Src/Memory/romMapperASCII16.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro Src/Memory/ram1kBMirrored.c: In function 'ramMirroredCreate': gcc -c -oSrc/Memory/romMapperASCII16nf.o Src/Memory/romMapperASCII16nf.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro Src/Memory/ram1kBMirrored.c:110:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *)' [-Wincompatible-pointer-types] 110 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/ram1kBMirrored.c:110:35: note: (near initialization for 'callbacks.destroy') Src/Memory/ramMapper.c: In function 'ramMapperCreate': Src/Memory/ram1kBMirrored.c:110:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *)' [-Wincompatible-pointer-types] 110 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ram1kBMirrored.c:110:50: note: (near initialization for 'callbacks.saveState') Src/Memory/ram1kBMirrored.c:110:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *)' [-Wincompatible-pointer-types] 110 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ram1kBMirrored.c:110:61: note: (near initialization for 'callbacks.loadState') Src/Memory/ramMapper.c:162:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamMapper *)' [-Wincompatible-pointer-types] 162 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/ramMapper.c:162:35: note: (near initialization for 'callbacks.destroy') Src/Memory/ram1kBMirrored.c:111:37: error: initialization of 'void (*)(void *, DbgDevice *)' from incompatible pointer type 'void (*)(Ram1kBMirrored *, DbgDevice *)' [-Wincompatible-pointer-types] 111 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~ Src/Memory/ram1kBMirrored.c:111:37: note: (near initialization for 'dbgCallbacks.getDebugInfo') Src/Memory/ram1kBMirrored.c:111:51: error: initialization of 'int (*)(void *, char *, void *, int, int)' from incompatible pointer type 'int (*)(Ram1kBMirrored *, char *, void *, int, int)' [-Wincompatible-pointer-types] 111 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~~~ Src/Memory/ram1kBMirrored.c:111:51: note: (near initialization for 'dbgCallbacks.writeMemory') Src/Memory/ramMapper.c:162:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamMapper *)' [-Wincompatible-pointer-types] 162 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ramMapper.c:162:50: note: (near initialization for 'callbacks.saveState') gcc -c -oSrc/Memory/romMapperASCII16sram.o Src/Memory/romMapperASCII16sram.c -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIC -D__LIBRETRO__ -DSINGLE_THREADED -DVIDEO_COLOR_TYPE_RGB565 -DZ80_CUSTOM_CONFIGURATION -w -I. -I./libretro-common/include -I./Src/Arch -I./Src/Bios -I./Src/Board -I./Src/BuildInfo -I./Src/Common -I./Src/Debugger -I./Src/Emulator -I./Src/IoDevice -I./Src/Language -I./Src/Media -I./Src/Memory -I./Src/Resources -I./Src/SoundChips -I./Src/TinyXML -I./Src/Unzip -I./Src/Utils -I./Src/VideoChips -I./Src/VideoRender -I./Src/Z80 -I./Src/Input -I./Src/Libretro Src/Memory/ramMapper.c:162:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamMapper *)' [-Wincompatible-pointer-types] 162 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ramMapper.c:162:61: note: (near initialization for 'callbacks.loadState') Src/Memory/ramMapper.c:163:37: error: initialization of 'void (*)(void *, DbgDevice *)' from incompatible pointer type 'void (*)(RamMapper *, DbgDevice *)' [-Wincompatible-pointer-types] 163 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~ Src/Memory/ramMapper.c:163:37: note: (near initialization for 'dbgCallbacks.getDebugInfo') Src/Memory/ramMapper.c:163:51: error: initialization of 'int (*)(void *, char *, void *, int, int)' from incompatible pointer type 'int (*)(RamMapper *, char *, void *, int, int)' [-Wincompatible-pointer-types] 163 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~~~ Src/Memory/ramMapper.c:163:51: note: (near initialization for 'dbgCallbacks.writeMemory') Src/Memory/ram1kBMirrored.c:143:49: error: passing argument 5 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(Ram1kBMirrored *, UInt16) {aka unsigned char (*)(Ram1kBMirrored *, short unsigned int)} In file included from Src/Memory/ram1kBMirrored.c:30: Src/Memory/SlotManager.h:52:28: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(Ram1kBMirrored *, UInt16)' {aka 'unsigned char (*)(Ram1kBMirrored *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/ram1kBMirrored.c:143:55: error: passing argument 6 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(Ram1kBMirrored *, UInt16) {aka unsigned char (*)(Ram1kBMirrored *, short unsigned int)} Src/Memory/SlotManager.h:52:45: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(Ram1kBMirrored *, UInt16)' {aka 'unsigned char (*)(Ram1kBMirrored *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/ramMapper.c:193:50: error: passing argument 2 of 'ramMapperIoAdd' from incompatible pointer type [-Wincompatible-pointer-types] 193 | rm->handle = ramMapperIoAdd(pages * 0x4000, writeIo, rm); | ^~~~~~~ | | | void (*)(RamMapper *, UInt16, UInt8) {aka void (*)(RamMapper *, short unsigned int, unsigned char)} Src/Memory/ram1kBMirrored.c:143:61: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~~ | | | void (*)(Ram1kBMirrored *, UInt16, UInt8) {aka void (*)(Ram1kBMirrored *, short unsigned int, unsigned char)} In file included from Src/Memory/ramMapper.c:30: Src/Memory/ramMapperIo.h:37:41: note: expected 'MemIoWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RamMapper *, UInt16, UInt8)' {aka 'void (*)(RamMapper *, short unsigned int, unsigned char)'} 37 | int ramMapperIoAdd(int size, MemIoWrite write, void* ref); | ~~~~~~~~~~~^~~~~ Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(Ram1kBMirrored *, UInt16, UInt8)' {aka 'void (*)(Ram1kBMirrored *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/ram1kBMirrored.c:143:68: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 143 | slotRegister(slot, sslot, startPage, pages, read, read, write, destroy, rm); | ^~~~~~~ | | | void (*)(Ram1kBMirrored *) Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(Ram1kBMirrored *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/ramMapper.c:198:55: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 198 | slotRegister(slot, sslot, 0, 8, NULL, NULL, NULL, destroy, rm); | ^~~~~~~ | | | void (*)(RamMapper *) In file included from Src/Memory/ramMapper.c:32: Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RamMapper *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/ramMapper.c:204:48: error: passing argument 1 of 'panasonicDramRegister' from incompatible pointer type [-Wincompatible-pointer-types] 204 | rm->dramHandle = panasonicDramRegister(setDram, rm); | ^~~~~~~ | | | void (*)(RamMapper *, int) In file included from Src/Memory/ramMapper.c:29: Src/Memory/romMapperDRAM.h:39:50: note: expected 'PanasonicDramCallback' {aka 'void (*)(void *, int)'} but argument is of type 'void (*)(RamMapper *, int)' 39 | int panasonicDramRegister(PanasonicDramCallback callback, void* ref); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ make: *** [Makefile.libretro:724: Src/Memory/ramMapper.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile.libretro:724: Src/Memory/ram1kBMirrored.o] Error 1 Src/Memory/ramMapperIo.c: In function 'ramMapperIoCreate': Src/Memory/ramMapperIo.c:148:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamMapperIo *)' [-Wincompatible-pointer-types] 148 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/ramMapperIo.c:148:35: note: (near initialization for 'callbacks.destroy') Src/Memory/ramMapperIo.c:148:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamMapperIo *)' [-Wincompatible-pointer-types] 148 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ramMapperIo.c:148:50: note: (near initialization for 'callbacks.saveState') Src/Memory/ramMapperIo.c:148:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamMapperIo *)' [-Wincompatible-pointer-types] 148 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ramMapperIo.c:148:61: note: (near initialization for 'callbacks.loadState') Src/Memory/ramMapperIo.c:149:37: error: initialization of 'void (*)(void *, DbgDevice *)' from incompatible pointer type 'void (*)(RamMapperIo *, DbgDevice *)' [-Wincompatible-pointer-types] 149 | DebugCallbacks dbgCallbacks = { getDebugInfo, NULL, NULL, NULL }; | ^~~~~~~~~~~~ Src/Memory/ramMapperIo.c:149:37: note: (near initialization for 'dbgCallbacks.getDebugInfo') Src/Memory/ramMapperIo.c:164:26: error: passing argument 2 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 164 | ioPortRegister(0xfc, read, write, rm); | ^~~~ | | | UInt8 (*)(RamMapperIo *, UInt16) {aka unsigned char (*)(RamMapperIo *, short unsigned int)} In file included from Src/Memory/ramMapperIo.c:34: Src/Memory/IoPort.h:37:42: note: expected 'IoPortRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RamMapperIo *, UInt16)' {aka 'unsigned char (*)(RamMapperIo *, short unsigned int)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~^~~~ Src/Memory/ramMapperIo.c:164:32: error: passing argument 3 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 164 | ioPortRegister(0xfc, read, write, rm); | ^~~~~ | | | void (*)(RamMapperIo *, UInt16, UInt8) {aka void (*)(RamMapperIo *, short unsigned int, unsigned char)} Src/Memory/IoPort.h:37:60: note: expected 'IoPortWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RamMapperIo *, UInt16, UInt8)' {aka 'void (*)(RamMapperIo *, short unsigned int, unsigned char)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~~^~~~~ Src/Memory/ramMapperIo.c:165:26: error: passing argument 2 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 165 | ioPortRegister(0xfd, read, write, rm); | ^~~~ | | | UInt8 (*)(RamMapperIo *, UInt16) {aka unsigned char (*)(RamMapperIo *, short unsigned int)} Src/Memory/IoPort.h:37:42: note: expected 'IoPortRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RamMapperIo *, UInt16)' {aka 'unsigned char (*)(RamMapperIo *, short unsigned int)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~^~~~ Src/Memory/ramMapperIo.c:165:32: error: passing argument 3 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 165 | ioPortRegister(0xfd, read, write, rm); | ^~~~~ | | | void (*)(RamMapperIo *, UInt16, UInt8) {aka void (*)(RamMapperIo *, short unsigned int, unsigned char)} Src/Memory/IoPort.h:37:60: note: expected 'IoPortWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RamMapperIo *, UInt16, UInt8)' {aka 'void (*)(RamMapperIo *, short unsigned int, unsigned char)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~~^~~~~ Src/Memory/ramMapperIo.c:166:26: error: passing argument 2 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 166 | ioPortRegister(0xfe, read, write, rm); | ^~~~ | | | UInt8 (*)(RamMapperIo *, UInt16) {aka unsigned char (*)(RamMapperIo *, short unsigned int)} Src/Memory/IoPort.h:37:42: note: expected 'IoPortRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RamMapperIo *, UInt16)' {aka 'unsigned char (*)(RamMapperIo *, short unsigned int)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~^~~~ Src/Memory/ramMapperIo.c:166:32: error: passing argument 3 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 166 | ioPortRegister(0xfe, read, write, rm); | ^~~~~ | | | void (*)(RamMapperIo *, UInt16, UInt8) {aka void (*)(RamMapperIo *, short unsigned int, unsigned char)} Src/Memory/IoPort.h:37:60: note: expected 'IoPortWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RamMapperIo *, UInt16, UInt8)' {aka 'void (*)(RamMapperIo *, short unsigned int, unsigned char)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~~^~~~~ Src/Memory/ramMapperIo.c:167:26: error: passing argument 2 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 167 | ioPortRegister(0xff, read, write, rm); | ^~~~ | | | UInt8 (*)(RamMapperIo *, UInt16) {aka unsigned char (*)(RamMapperIo *, short unsigned int)} Src/Memory/IoPort.h:37:42: note: expected 'IoPortRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RamMapperIo *, UInt16)' {aka 'unsigned char (*)(RamMapperIo *, short unsigned int)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~^~~~ Src/Memory/ramMapperIo.c:167:32: error: passing argument 3 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 167 | ioPortRegister(0xff, read, write, rm); | ^~~~~ | | | void (*)(RamMapperIo *, UInt16, UInt8) {aka void (*)(RamMapperIo *, short unsigned int, unsigned char)} Src/Memory/IoPort.h:37:60: note: expected 'IoPortWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RamMapperIo *, UInt16, UInt8)' {aka 'void (*)(RamMapperIo *, short unsigned int, unsigned char)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~~^~~~~ make: *** [Makefile.libretro:724: Src/Memory/ramMapperIo.o] Error 1 Src/Memory/ramNormal.c: In function 'ramNormalCreate': Src/Memory/ramNormal.c:104:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamNormal *)' [-Wincompatible-pointer-types] 104 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/ramNormal.c:104:35: note: (near initialization for 'callbacks.destroy') Src/Memory/ramNormal.c:104:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamNormal *)' [-Wincompatible-pointer-types] 104 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ramNormal.c:104:50: note: (near initialization for 'callbacks.saveState') Src/Memory/ramNormal.c:104:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RamNormal *)' [-Wincompatible-pointer-types] 104 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/ramNormal.c:104:61: note: (near initialization for 'callbacks.loadState') Src/Memory/ramNormal.c:105:37: error: initialization of 'void (*)(void *, DbgDevice *)' from incompatible pointer type 'void (*)(RamNormal *, DbgDevice *)' [-Wincompatible-pointer-types] 105 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~ Src/Memory/ramNormal.c:105:37: note: (near initialization for 'dbgCallbacks.getDebugInfo') Src/Memory/ramNormal.c:105:51: error: initialization of 'int (*)(void *, char *, void *, int, int)' from incompatible pointer type 'int (*)(RamNormal *, char *, void *, int, int)' [-Wincompatible-pointer-types] 105 | DebugCallbacks dbgCallbacks = { getDebugInfo, dbgWriteMemory, NULL, NULL }; | ^~~~~~~~~~~~~~ Src/Memory/ramNormal.c:105:51: note: (near initialization for 'dbgCallbacks.writeMemory') Src/Memory/romMapperA1FM.c: In function 'romMapperA1FMCreate': Src/Memory/ramNormal.c:135:67: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 135 | slotRegister(slot, sslot, startPage, pages, NULL, NULL, NULL, destroy, rm); | ^~~~~~~ | | | void (*)(RamNormal *) In file included from Src/Memory/ramNormal.c:30: Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RamNormal *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperA1FM.c:260:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FM *)' [-Wincompatible-pointer-types] 260 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~ Src/Memory/romMapperA1FM.c:260:35: note: (near initialization for 'callbacks.destroy') Src/Memory/romMapperA1FM.c:260:44: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FM *)' [-Wincompatible-pointer-types] 260 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~ Src/Memory/romMapperA1FM.c:260:44: note: (near initialization for 'callbacks.reset') Src/Memory/romMapperA1FM.c:260:51: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FM *)' [-Wincompatible-pointer-types] 260 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperA1FM.c:260:51: note: (near initialization for 'callbacks.saveState') Src/Memory/romMapperA1FM.c:260:62: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FM *)' [-Wincompatible-pointer-types] 260 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperA1FM.c:260:62: note: (near initialization for 'callbacks.loadState') Src/Memory/romMapperA1FM.c:273:37: error: passing argument 5 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 273 | slotRegister(slot, sslot, 0, 8, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(RomMapperA1FM *, UInt16) {aka unsigned char (*)(RomMapperA1FM *, short unsigned int)} In file included from Src/Memory/romMapperA1FM.c:30: Src/Memory/SlotManager.h:52:28: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RomMapperA1FM *, UInt16)' {aka 'unsigned char (*)(RomMapperA1FM *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/romMapperA1FM.c:273:43: error: passing argument 6 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 273 | slotRegister(slot, sslot, 0, 8, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(RomMapperA1FM *, UInt16) {aka unsigned char (*)(RomMapperA1FM *, short unsigned int)} Src/Memory/SlotManager.h:52:45: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RomMapperA1FM *, UInt16)' {aka 'unsigned char (*)(RomMapperA1FM *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/romMapperA1FM.c:273:49: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 273 | slotRegister(slot, sslot, 0, 8, read, read, write, destroy, rm); | ^~~~~ | | | void (*)(RomMapperA1FM *, UInt16, UInt8) {aka void (*)(RomMapperA1FM *, short unsigned int, unsigned char)} Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RomMapperA1FM *, UInt16, UInt8)' {aka 'void (*)(RomMapperA1FM *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperA1FM.c:273:56: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 273 | slotRegister(slot, sslot, 0, 8, read, read, write, destroy, rm); | ^~~~~~~ | | | void (*)(RomMapperA1FM *) Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RomMapperA1FM *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperA1FMModem.c: In function 'romMapperA1FMModemCreate': Src/Memory/romMapperA1FMModem.c:121:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FMModem *)' [-Wincompatible-pointer-types] 121 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~ Src/Memory/romMapperA1FMModem.c:121:35: note: (near initialization for 'callbacks.destroy') Src/Memory/romMapperA1FMModem.c:121:44: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FMModem *)' [-Wincompatible-pointer-types] 121 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~ Src/Memory/romMapperA1FMModem.c:121:44: note: (near initialization for 'callbacks.reset') Src/Memory/romMapperA1FMModem.c:121:51: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FMModem *)' [-Wincompatible-pointer-types] 121 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperA1FMModem.c:121:51: note: (near initialization for 'callbacks.saveState') Src/Memory/romMapperActivisionPcb.c: In function 'romMapperActivisionPcbCreate': Src/Memory/romMapperA1FMModem.c:121:62: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperA1FMModem *)' [-Wincompatible-pointer-types] 121 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperA1FMModem.c:121:62: note: (near initialization for 'callbacks.loadState') Src/Memory/romMapperA1FMModem.c:127:45: error: passing argument 5 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 127 | slotRegister(slot, sslot, startPage, 2, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(RomMapperA1FMModem *, UInt16) {aka unsigned char (*)(RomMapperA1FMModem *, short unsigned int)} Src/Memory/romMapperActivisionPcb.c:197:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperActivisionPcb *)' [-Wincompatible-pointer-types] 197 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~ Src/Memory/romMapperActivisionPcb.c:197:35: note: (near initialization for 'callbacks.destroy') In file included from Src/Memory/romMapperA1FMModem.c:30: Src/Memory/SlotManager.h:52:28: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RomMapperA1FMModem *, UInt16)' {aka 'unsigned char (*)(RomMapperA1FMModem *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/romMapperA1FMModem.c:127:51: error: passing argument 6 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 127 | slotRegister(slot, sslot, startPage, 2, read, read, write, destroy, rm); | ^~~~ | | | UInt8 (*)(RomMapperA1FMModem *, UInt16) {aka unsigned char (*)(RomMapperA1FMModem *, short unsigned int)} Src/Memory/SlotManager.h:52:45: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RomMapperA1FMModem *, UInt16)' {aka 'unsigned char (*)(RomMapperA1FMModem *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/romMapperActivisionPcb.c:197:44: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperActivisionPcb *)' [-Wincompatible-pointer-types] 197 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~ Src/Memory/romMapperA1FMModem.c:127:57: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 127 | slotRegister(slot, sslot, startPage, 2, read, read, write, destroy, rm); | ^~~~~ | | | void (*)(RomMapperA1FMModem *, UInt16, UInt8) {aka void (*)(RomMapperA1FMModem *, short unsigned int, unsigned char)} Src/Memory/romMapperActivisionPcb.c:197:44: note: (near initialization for 'callbacks.reset') Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RomMapperA1FMModem *, UInt16, UInt8)' {aka 'void (*)(RomMapperA1FMModem *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperA1FMModem.c:127:64: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 127 | slotRegister(slot, sslot, startPage, 2, read, read, write, destroy, rm); | ^~~~~~~ | | | void (*)(RomMapperA1FMModem *) Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RomMapperA1FMModem *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperActivisionPcb.c:197:51: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperActivisionPcb *)' [-Wincompatible-pointer-types] 197 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperActivisionPcb.c:197:51: note: (near initialization for 'callbacks.saveState') Src/Memory/romMapperASCII16nf.c: In function 'romMapperASCII16nfCreate': Src/Memory/romMapperActivisionPcb.c:197:62: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperActivisionPcb *)' [-Wincompatible-pointer-types] 197 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperActivisionPcb.c:197:62: note: (near initialization for 'callbacks.loadState') Src/Memory/romMapperASCII16nf.c:121:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16nf *)' [-Wincompatible-pointer-types] 121 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/romMapperASCII16nf.c:121:35: note: (near initialization for 'callbacks.destroy') Src/Memory/romMapperActivisionPcb.c:207:45: error: passing argument 5 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 207 | slotRegister(slot, sslot, startPage, 4, read, peek, write, destroy, rm); | ^~~~ | | | UInt8 (*)(RomMapperActivisionPcb *, UInt16) {aka unsigned char (*)(RomMapperActivisionPcb *, short unsigned int)} In file included from Src/Memory/romMapperActivisionPcb.c:27: Src/Memory/SlotManager.h:52:28: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RomMapperActivisionPcb *, UInt16)' {aka 'unsigned char (*)(RomMapperActivisionPcb *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/romMapperASCII16.c: In function 'romMapperASCII16Create': Src/Memory/romMapperASCII16nf.c:121:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16nf *)' [-Wincompatible-pointer-types] 121 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperActivisionPcb.c:207:51: error: passing argument 6 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 207 | slotRegister(slot, sslot, startPage, 4, read, peek, write, destroy, rm); | ^~~~ | | | UInt8 (*)(RomMapperActivisionPcb *, UInt16) {aka unsigned char (*)(RomMapperActivisionPcb *, short unsigned int)} Src/Memory/romMapperASCII16nf.c:121:50: note: (near initialization for 'callbacks.saveState') Src/Memory/SlotManager.h:52:45: note: expected 'SlotRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(RomMapperActivisionPcb *, UInt16)' {aka 'unsigned char (*)(RomMapperActivisionPcb *, short unsigned int)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~^~~~~~ Src/Memory/romMapperActivisionPcb.c:207:57: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 207 | slotRegister(slot, sslot, startPage, 4, read, peek, write, destroy, rm); | ^~~~~ | | | void (*)(RomMapperActivisionPcb *, UInt16, UInt8) {aka void (*)(RomMapperActivisionPcb *, short unsigned int, unsigned char)} Src/Memory/romMapperASCII16nf.c:121:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16nf *)' [-Wincompatible-pointer-types] 121 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RomMapperActivisionPcb *, UInt16, UInt8)' {aka 'void (*)(RomMapperActivisionPcb *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperASCII16nf.c:121:61: note: (near initialization for 'callbacks.loadState') Src/Memory/romMapperASCII16.c:118:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16 *)' [-Wincompatible-pointer-types] 118 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/romMapperActivisionPcb.c:207:64: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 207 | slotRegister(slot, sslot, startPage, 4, read, peek, write, destroy, rm); | ^~~~~~~ | | | void (*)(RomMapperActivisionPcb *) Src/Memory/romMapperASCII16.c:118:35: note: (near initialization for 'callbacks.destroy') Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RomMapperActivisionPcb *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperASCII16nf.c:128:57: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 128 | slotRegister(slot, sslot, startPage, 4, NULL, NULL, write, destroy, rm); | ^~~~~ | | | void (*)(RomMapperASCII16nf *, UInt16, UInt8) {aka void (*)(RomMapperASCII16nf *, short unsigned int, unsigned char)} Src/Memory/romMapperASCII16.c:118:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16 *)' [-Wincompatible-pointer-types] 118 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperASCII16.c:118:50: note: (near initialization for 'callbacks.saveState') In file included from Src/Memory/romMapperASCII16nf.c:30: Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RomMapperASCII16nf *, UInt16, UInt8)' {aka 'void (*)(RomMapperASCII16nf *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperASCII16.c:118:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16 *)' [-Wincompatible-pointer-types] 118 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperASCII16.c:118:61: note: (near initialization for 'callbacks.loadState') Src/Memory/romMapperASCII16nf.c:128:64: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 128 | slotRegister(slot, sslot, startPage, 4, NULL, NULL, write, destroy, rm); | ^~~~~~~ | | | void (*)(RomMapperASCII16nf *) Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RomMapperASCII16nf *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperASCII16.c:131:57: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 131 | slotRegister(slot, sslot, startPage, 4, NULL, NULL, write, destroy, rm); | ^~~~~ | | | void (*)(RomMapperASCII16 *, UInt16, UInt8) {aka void (*)(RomMapperASCII16 *, short unsigned int, unsigned char)} Src/Memory/romMapperASCII16sram.c: In function 'romMapperASCII16sramCreate': In file included from Src/Memory/romMapperASCII16.c:30: Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RomMapperASCII16 *, UInt16, UInt8)' {aka 'void (*)(RomMapperASCII16 *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperASCII16.c:131:64: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 131 | slotRegister(slot, sslot, startPage, 4, NULL, NULL, write, destroy, rm); | ^~~~~~~ | | | void (*)(RomMapperASCII16 *) Src/Memory/romMapperASCII16sram.c:144:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16sram *)' [-Wincompatible-pointer-types] 144 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~ Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RomMapperASCII16 *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperASCII16sram.c:144:35: note: (near initialization for 'callbacks.destroy') make: *** [Makefile.libretro:724: Src/Memory/ramNormal.o] Error 1 Src/Memory/romMapperASCII16sram.c:144:50: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16sram *)' [-Wincompatible-pointer-types] 144 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperASCII16sram.c:144:50: note: (near initialization for 'callbacks.saveState') make: *** [Makefile.libretro:724: Src/Memory/romMapperA1FM.o] Error 1 Src/Memory/romMapperASCII16sram.c:144:61: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(RomMapperASCII16sram *)' [-Wincompatible-pointer-types] 144 | DeviceCallbacks callbacks = { destroy, NULL, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperASCII16sram.c:144:61: note: (near initialization for 'callbacks.loadState') Src/Memory/romMapperASCII16sram.c:159:57: error: passing argument 7 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 159 | slotRegister(slot, sslot, startPage, 4, NULL, NULL, write, destroy, rm); | ^~~~~ | | | void (*)(RomMapperASCII16sram *, UInt16, UInt8) {aka void (*)(RomMapperASCII16sram *, short unsigned int, unsigned char)} In file included from Src/Memory/romMapperASCII16sram.c:30: Src/Memory/SlotManager.h:52:63: note: expected 'SlotWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(RomMapperASCII16sram *, UInt16, UInt8)' {aka 'void (*)(RomMapperASCII16sram *, short unsigned int, unsigned char)'} 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperASCII16sram.c:159:64: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 159 | slotRegister(slot, sslot, startPage, 4, NULL, NULL, write, destroy, rm); | ^~~~~~~ | | | void (*)(RomMapperASCII16sram *) Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(RomMapperASCII16sram *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperArc.c: In function 'romMapperArcCreate': Src/Memory/romMapperArc.c:113:35: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Arc *)' [-Wincompatible-pointer-types] 113 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~ Src/Memory/romMapperArc.c:113:35: note: (near initialization for 'callbacks.destroy') Src/Memory/romMapperArc.c:113:44: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Arc *)' [-Wincompatible-pointer-types] 113 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~ Src/Memory/romMapperArc.c:113:44: note: (near initialization for 'callbacks.reset') Src/Memory/romMapperArc.c:113:51: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Arc *)' [-Wincompatible-pointer-types] 113 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperArc.c:113:51: note: (near initialization for 'callbacks.saveState') Src/Memory/romMapperArc.c:113:62: error: initialization of 'void (*)(void *)' from incompatible pointer type 'void (*)(Arc *)' [-Wincompatible-pointer-types] 113 | DeviceCallbacks callbacks = { destroy, reset, saveState, loadState }; | ^~~~~~~~~ Src/Memory/romMapperArc.c:113:62: note: (near initialization for 'callbacks.loadState') Src/Memory/romMapperArc.c:114:37: error: initialization of 'void (*)(void *, DbgDevice *)' from incompatible pointer type 'void (*)(Arc *, DbgDevice *)' [-Wincompatible-pointer-types] 114 | DebugCallbacks dbgCallbacks = { getDebugInfo, NULL, NULL, NULL }; | ^~~~~~~~~~~~ Src/Memory/romMapperArc.c:114:37: note: (near initialization for 'dbgCallbacks.getDebugInfo') Src/Memory/romMapperArc.c:124:63: error: passing argument 8 of 'slotRegister' from incompatible pointer type [-Wincompatible-pointer-types] 124 | slotRegister(slot, sslot, startPage, 4, NULL, NULL, NULL, destroy, rm); | ^~~~~~~ | | | void (*)(Arc *) In file included from Src/Memory/romMapperArc.c:30: Src/Memory/SlotManager.h:52:82: note: expected 'SlotEject' {aka 'void (*)(void *)'} but argument is of type 'void (*)(Arc *)' 52 | SlotRead readCb, SlotRead peekCb, SlotWrite writeCb, SlotEject ejectCb, void* ref); | ~~~~~~~~~~^~~~~~~ Src/Memory/romMapperArc.c:138:26: error: passing argument 2 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 138 | ioPortRegister(0x7f, readIo, writeIo, rm); | ^~~~~~ | | | UInt8 (*)(Arc *, UInt16) {aka unsigned char (*)(Arc *, short unsigned int)} make: *** [Makefile.libretro:724: Src/Memory/romMapperASCII16.o] Error 1 In file included from Src/Memory/romMapperArc.c:34: Src/Memory/IoPort.h:37:42: note: expected 'IoPortRead' {aka 'unsigned char (*)(void *, short unsigned int)'} but argument is of type 'UInt8 (*)(Arc *, UInt16)' {aka 'unsigned char (*)(Arc *, short unsigned int)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~^~~~ Src/Memory/romMapperArc.c:138:34: error: passing argument 3 of 'ioPortRegister' from incompatible pointer type [-Wincompatible-pointer-types] 138 | ioPortRegister(0x7f, readIo, writeIo, rm); | ^~~~~~~ | | | void (*)(Arc *, UInt16, UInt8) {aka void (*)(Arc *, short unsigned int, unsigned char)} Src/Memory/IoPort.h:37:60: note: expected 'IoPortWrite' {aka 'void (*)(void *, short unsigned int, unsigned char)'} but argument is of type 'void (*)(Arc *, UInt16, UInt8)' {aka 'void (*)(Arc *, short unsigned int, unsigned char)'} 37 | void ioPortRegister(int port, IoPortRead read, IoPortWrite write, void* ref); | ~~~~~~~~~~~~^~~~~ make: *** [Makefile.libretro:724: Src/Memory/romMapperA1FMModem.o] Error 1 make: *** [Makefile.libretro:724: Src/Memory/romMapperActivisionPcb.o] Error 1 make: *** [Makefile.libretro:724: Src/Memory/romMapperASCII16nf.o] Error 1 make: *** [Makefile.libretro:724: Src/Memory/romMapperASCII16sram.o] Error 1 make: *** [Makefile.libretro:724: Src/Memory/romMapperArc.o] Error 1 >>> ERROR: libretro-bluemsx: build failed >>> libretro-bluemsx: Uninstalling dependencies... (1/2) Purging .makedepends-libretro-bluemsx (20240923.144348) (2/2) Purging zlib-dev (1.3.1-r2) OK: 251 MiB in 103 packages