>>> libretro-melonds: Building community/libretro-melonds 0_git20221207-r0 (using abuild 3.14.1-r1) started Fri, 01 Nov 2024 21:32:35 +0000
>>> libretro-melonds: Validating /home/buildozer/aports/community/libretro-melonds/APKBUILD...
>>> libretro-melonds: Analyzing dependencies...
>>> libretro-melonds: Installing for build: build-base mesa-dev
(1/62) Installing linux-headers (6.6-r1)
(2/62) Installing hwdata-pci (0.388-r0)
(3/62) Installing libpciaccess (0.18.1-r0)
(4/62) Installing libdrm (2.4.123-r1)
(5/62) Installing libpciaccess-dev (0.18.1-r0)
(6/62) Installing libdrm-dev (2.4.123-r1)
(7/62) Installing libxau (1.0.11-r4)
(8/62) Installing xorgproto (2024.1-r0)
(9/62) Installing libxau-dev (1.0.11-r4)
(10/62) Installing libmd (1.1.0-r0)
(11/62) Installing libbsd (0.12.2-r0)
(12/62) Installing libxdmcp (1.1.5-r1)
(13/62) Installing libxcb (1.16.1-r0)
(14/62) Installing libx11 (1.8.10-r0)
(15/62) Installing libxext (1.3.6-r2)
(16/62) Installing libbz2 (1.0.8-r6)
(17/62) Installing libffi (3.4.6-r0)
(18/62) Installing gdbm (1.24-r0)
(19/62) Installing xz-libs (5.6.3-r0)
(20/62) Installing mpdecimal (4.0.0-r0)
(21/62) Installing libpanelw (6.5_p20241006-r2)
(22/62) Installing sqlite-libs (3.47.0-r0)
(23/62) Installing python3 (3.12.7-r1)
(24/62) Installing python3-pycache-pyc0 (3.12.7-r1)
(25/62) Installing pyc (3.12.7-r1)
(26/62) Installing xcb-proto-pyc (1.17.0-r0)
(27/62) Installing python3-pyc (3.12.7-r1)
(28/62) Installing xcb-proto (1.17.0-r0)
(29/62) Installing libxdmcp-dev (1.1.5-r1)
(30/62) Installing libxcb-dev (1.16.1-r0)
(31/62) Installing xtrans (1.5.1-r0)
(32/62) Installing libx11-dev (1.8.10-r0)
(33/62) Installing libxext-dev (1.3.6-r2)
(34/62) Installing libxdamage (1.1.6-r5)
(35/62) Installing libxfixes (6.0.1-r4)
(36/62) Installing libxfixes-dev (6.0.1-r4)
(37/62) Installing libxdamage-dev (1.1.6-r5)
(38/62) Installing libxshmfence (1.3.2-r6)
(39/62) Installing libxshmfence-dev (1.3.2-r6)
(40/62) Installing libxml2 (2.13.4-r3)
(41/62) Installing llvm19-libs (19.1.2-r0)
(42/62) Installing libelf (0.191-r0)
(43/62) Installing mesa-glapi (24.2.6-r0)
(44/62) Installing mesa (24.2.6-r0)
(45/62) Installing wayland-libs-server (1.23.1-r0)
(46/62) Installing mesa-gbm (24.2.6-r0)
(47/62) Installing wayland-libs-client (1.23.1-r0)
(48/62) Installing mesa-egl (24.2.6-r0)
(49/62) Installing libxxf86vm (1.1.5-r6)
(50/62) Installing mesa-gl (24.2.6-r0)
(51/62) Installing mesa-gles (24.2.6-r0)
(52/62) Installing mesa-osmesa (24.2.6-r0)
(53/62) Installing clang19-headers (19.1.2-r0)
(54/62) Installing libclc (19.1.2-r0)
(55/62) Installing spirv-llvm-translator-libs (19.1.0-r0)
(56/62) Installing spirv-tools (1.3.290.0-r0)
(57/62) Installing clang19-libs (19.1.2-r0)
(58/62) Installing mesa-rusticl (24.2.6-r0)
(59/62) Installing mesa-xatracker (24.2.6-r0)
(60/62) Installing libxxf86vm-dev (1.1.5-r6)
(61/62) Installing mesa-dev (24.2.6-r0)
(62/62) Installing .makedepends-libretro-melonds (20241101.213302)
Executing busybox-1.37.0-r5.trigger
OK: 1002 MiB in 163 packages
>>> libretro-melonds: Cleaning up srcdir
>>> libretro-melonds: Cleaning up pkgdir
>>> libretro-melonds: Cleaning up tmpdir
>>> libretro-melonds: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/libretro-melonds-0e1f06da626cbe67215c3f06f6bdf510dd4e4649.tar.gz
Connecting to distfiles.alpinelinux.org (172.105.82.32:443)
saving to '/var/cache/distfiles/v3.21/libretro-melonds-0e1f06da626cbe67215c3f06f6bdf510dd4e4649.tar.gz.part'
libretro-melonds-0e1 100% |********************************| 2867k  0:00:00 ETA
'/var/cache/distfiles/v3.21/libretro-melonds-0e1f06da626cbe67215c3f06f6bdf510dd4e4649.tar.gz.part' saved
>>> libretro-melonds: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/libretro-melonds-0e1f06da626cbe67215c3f06f6bdf510dd4e4649.tar.gz
>>> libretro-melonds: Checking sha512sums...
libretro-melonds-0e1f06da626cbe67215c3f06f6bdf510dd4e4649.tar.gz: OK
>>> libretro-melonds: Unpacking /var/cache/distfiles/v3.21/libretro-melonds-0e1f06da626cbe67215c3f06f6bdf510dd4e4649.tar.gz...
fatal: not a git repository (or any of the parent directories): .git
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/xxhash/xxhash.o src/xxhash/xxhash.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/tiny-AES-c/aes.o src/tiny-AES-c/aes.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/fatfs/diskio.o src/fatfs/diskio.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/fatfs/ff.o src/fatfs/ff.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/fatfs/ffsystem.o src/fatfs/ffsystem.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/fatfs/ffunicode.o src/fatfs/ffunicode.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/sha1/sha1.o src/sha1/sha1.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/compat/compat_strl.o src/libretro/libretro-common/compat/compat_strl.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/compat/fopen_utf8.o src/libretro/libretro-common/compat/fopen_utf8.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/compat/compat_posix_string.o src/libretro/libretro-common/compat/compat_posix_string.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/compat/compat_strcasestr.o src/libretro/libretro-common/compat/compat_strcasestr.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/encodings/encoding_utf.o src/libretro/libretro-common/encodings/encoding_utf.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/file/file_path.o src/libretro/libretro-common/file/file_path.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/streams/file_stream.o src/libretro/libretro-common/streams/file_stream.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/streams/file_stream_transforms.o src/libretro/libretro-common/streams/file_stream_transforms.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/streams/memory_stream.o src/libretro/libretro-common/streams/memory_stream.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/string/stdstring.o src/libretro/libretro-common/string/stdstring.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/vfs/vfs_implementation.o src/libretro/libretro-common/vfs/vfs_implementation.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/rthreads/rthreads.o src/libretro/libretro-common/rthreads/rthreads.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro-common/rthreads/rsemaphore.o src/libretro/libretro-common/rthreads/rsemaphore.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/NDS.o src/NDS.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/AREngine.o src/AREngine.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/ARCodeFile.o src/ARCodeFile.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/ARM.o src/ARM.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/ARMInterpreter.o src/ARMInterpreter.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/ARMInterpreter_ALU.o src/ARMInterpreter_ALU.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/ARMInterpreter_Branch.o src/ARMInterpreter_Branch.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/ARMInterpreter_LoadStore.o src/ARMInterpreter_LoadStore.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/CP15.o src/CP15.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/CRC32.o src/CRC32.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DMA.o src/DMA.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi.o src/DSi.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_AES.o src/DSi_AES.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_Camera.o src/DSi_Camera.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_DSP.o src/DSi_DSP.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_I2C.o src/DSi_I2C.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_NAND.o src/DSi_NAND.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_NDMA.o src/DSi_NDMA.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_NWifi.o src/DSi_NWifi.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_SD.o src/DSi_SD.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSi_SPI_TSC.o src/DSi_SPI_TSC.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/DSiCrypto.o src/DSiCrypto.cpp
src/fatfs/diskio.c: In function 'disk_write':
src/fatfs/diskio.c:106:28: warning: passing argument 1 of 'WriteCb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  106 |         UINT res = WriteCb(buff, sector, count);
      |                            ^~~~
src/fatfs/diskio.c:106:28: note: expected 'BYTE *' {aka 'unsigned char *'} but argument is of type 'const BYTE *' {aka 'const unsigned char *'}
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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/GBACart.o src/GBACart.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/GPU.o src/GPU.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/GPU2D.o src/GPU2D.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/GPU2D_Soft.o src/GPU2D_Soft.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/GPU3D.o src/GPU3D.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/GPU3D_Soft.o src/GPU3D_Soft.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/NDSCart.o src/NDSCart.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/NDSCart_SRAMManager.o src/NDSCart_SRAMManager.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/RTC.o src/RTC.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/Savestate.o src/Savestate.cpp
src/libretro/libretro-common/vfs/vfs_implementation.c: In function 'retro_vfs_file_open_impl':
src/libretro/libretro-common/vfs/vfs_implementation.c:287:36: warning: unused variable 'path_len' [-Wunused-variable]
  287 |    int                             path_len = (int)strlen(path);
      |                                    ^~~~~~~~
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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/SPI.o src/SPI.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/SPU.o src/SPU.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/Wifi.o src/Wifi.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/WifiAP.o src/WifiAP.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/frontend/Util_ROM.o src/frontend/Util_ROM.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/config.o src/libretro/config.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/input.o src/libretro/input.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/libretro.o src/libretro/libretro.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/platform.o src/libretro/platform.cpp
src/Savestate.cpp:24:9: warning: "fclose" redefined
   24 | #define fclose(stream) memstream_close(stream)
      |         ^~~~~~
In file included from src/Savestate.cpp:21:
src/Platform.h:30:9: note: this is the location of the previous definition
   30 | #define fclose rfclose
      |         ^~~~~~
src/Savestate.cpp:25:9: warning: "fread" redefined
   25 | #define fread(data, len, count, stream) memstream_read(stream, data, len)
      |         ^~~~~
src/Platform.h:31:9: note: this is the location of the previous definition
   31 | #define fread rfread
      |         ^~~~~
src/Savestate.cpp:26:9: warning: "fwrite" redefined
   26 | #define fwrite(data, len, count, stream) memstream_write(stream, data, len)
      |         ^~~~~~
In file included from src/Platform.h:28:
./src/libretro/libretro-common/include/streams/file_stream_transforms.h:59:9: note: this is the location of the previous definition
   59 | #define fwrite rfwrite
      |         ^~~~~~
src/Savestate.cpp:27:9: warning: "fseek" redefined
   27 | #define fseek(stream, offset, mask) memstream_seek(stream, offset, mask)
      |         ^~~~~
src/Platform.h:32:9: note: this is the location of the previous definition
   32 | #define fseek rfseek
      |         ^~~~~
src/Savestate.cpp:28:9: warning: "ftell" redefined
   28 | #define ftell(stream) memstream_pos(stream)
      |         ^~~~~
./src/libretro/libretro-common/include/streams/file_stream_transforms.h:54:9: note: this is the location of the previous definition
   54 | #define ftell rftell
      |         ^~~~~
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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/screenlayout.o src/libretro/screenlayout.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/libretro/utils.o src/libretro/utils.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/ahbm.o src/teakra/src/ahbm.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/apbp.o src/teakra/src/apbp.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/btdmp.o src/teakra/src/btdmp.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/disassembler_c.o src/teakra/src/disassembler_c.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/disassembler.o src/teakra/src/disassembler.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/dma.o src/teakra/src/dma.cpp
src/ARM.cpp: In member function 'virtual void ARMv4::JumpTo(u32, bool)':
src/ARM.cpp:326:9: warning: unused variable 'oldregion' [-Wunused-variable]
  326 |     u32 oldregion = R[15] >> 23;
      |         ^~~~~~~~~
src/ARM.cpp:327:9: warning: unused variable 'newregion' [-Wunused-variable]
  327 |     u32 newregion = addr >> 23;
      |         ^~~~~~~~~
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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/memory_interface.o src/teakra/src/memory_interface.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/mmio.o src/teakra/src/mmio.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/parser.o src/teakra/src/parser.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/processor.o src/teakra/src/processor.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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/teakra_c.o src/teakra/src/teakra_c.cpp
src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::BMI_Command()':
src/DSi_NWifi.cpp:752:20: warning: unused variable 'val' [-Wunused-variable]
  752 |                 u8 val = Mailbox[0].Read();
      |                    ^~~
src/DSi_NWifi.cpp:806:20: warning: unused variable 'val' [-Wunused-variable]
  806 |                 u8 val = Mailbox[0].Read();
      |                    ^~~
src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::HTC_Command()':
src/DSi_NWifi.cpp:823:9: warning: unused variable 'h0' [-Wunused-variable]
  823 |     u16 h0 = MB_Read16(0);
      |         ^~
src/DSi_NWifi.cpp:825:9: warning: unused variable 'h2' [-Wunused-variable]
  825 |     u16 h2 = MB_Read16(0);
      |         ^~
src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::WMI_ConnectToNetwork()':
src/DSi_NWifi.cpp:1148:8: warning: unused variable 'pCryptoLen' [-Wunused-variable]
 1148 |     u8 pCryptoLen = Mailbox[0].Read();
      |        ^~~~~~~~~~
src/DSi_NWifi.cpp:1150:8: warning: unused variable 'gCryptoLen' [-Wunused-variable]
 1150 |     u8 gCryptoLen = Mailbox[0].Read();
      |        ^~~~~~~~~~
src/DSi_NWifi.cpp:1159:9: warning: unused variable 'channel' [-Wunused-variable]
 1159 |     u16 channel = MB_Read16(0);
      |         ^~~~~~~
src/DSi_NWifi.cpp:1165:9: warning: unused variable 'flags' [-Wunused-variable]
 1165 |     u32 flags = MB_Read32(0);
      |         ^~~~~
src/DSi_NAND.cpp: In function 'bool DSi_NAND::ESEncrypt(u8*, u32)':
src/DSi_NAND.cpp:297:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  297 |         for (int i = 0; i < remlen; i++)
      |                         ~~^~~~~~~~
src/DSi_NAND.cpp:304:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  304 |         for (int i = 0; i < remlen; i++)
      |                         ~~^~~~~~~~
src/DSi_NAND.cpp: In function 'bool DSi_NAND::ESDecrypt(u8*, u32)':
src/DSi_NAND.cpp:391:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  391 |         for (int i = 0; i < remlen; i++)
      |                         ~~^~~~~~~~
src/DSi_NAND.cpp:399:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  399 |         for (int i = 0; i < remlen; i++)
      |                         ~~^~~~~~~~
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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/teakra.o src/teakra/src/teakra.cpp
src/DSi_NAND.cpp: In function 'bool DSi_NAND::ImportTitle(const char*, u8*, bool)':
src/DSi_NAND.cpp:977:9: warning: unused variable 'ticketdir' [-Wunused-variable]
  977 |     DIR ticketdir;
      |         ^~~~~~~~~
src/DSi_NAND.cpp:978:13: warning: unused variable 'info' [-Wunused-variable]
  978 |     FILINFO info;
      |             ^~~~
src/Wifi.cpp: In function 'void Wifi::SendMPDefaultReply()':
src/Wifi.cpp:503:13: warning: unused variable 'txlen' [-Wunused-variable]
  503 |         int txlen = Platform::MP_SendPacket(reply, 12+28);
      |             ^~~~~
src/Wifi.cpp: In function 'void Wifi::SendMPAck()':
src/Wifi.cpp:533:13: warning: unused variable 'txlen' [-Wunused-variable]
  533 |         int txlen = Platform::MP_SendPacket(ack, 12+32);
      |             ^~~~~
src/Wifi.cpp: In function 'bool Wifi::ProcessTX(TXSlot*, int)':
src/Wifi.cpp:658:17: warning: unused variable 'txlen' [-Wunused-variable]
  658 |             int txlen = Platform::MP_SendPacket(&RAM[slot->Addr], 12 + slot->Length);
      |                 ^~~~~
src/NDSCart_SRAMManager.cpp: In function 'void NDSCart_SRAMManager::FlushSecondaryBuffer(u8*, s32)':
src/NDSCart_SRAMManager.cpp:158:26: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  158 |     if (dst && dstLength < SecondaryBufferLength) return;
      |                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/NDSCart_SRAMManager.cpp: In function 'void NDSCart_SRAMManager::UpdateBuffer(u8*, s32)':
src/NDSCart_SRAMManager.cpp:191:27: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  191 |     if (!src || srcLength != Length) return;
      |                 ~~~~~~~~~~^~~~~~~~~
src/frontend/Util_ROM.cpp: In function 'int Frontend::SetupDSiNAND()':
src/frontend/Util_ROM.cpp:227:10: warning: unused variable 'len' [-Wunused-variable]
  227 |     long len;
      |          ^~~
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 -O3 -fno-tree-vectorize  -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI  -fPIC -c -osrc/teakra/src/timer.o src/teakra/src/timer.cpp
src/DSi_SD.cpp: In member function 'void DSi_SDHost::SendResponse(u32, bool)':
src/DSi_SD.cpp:227:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  227 |     *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4];
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
src/DSi_SD.cpp:227:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  227 |     *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4];
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
src/DSi_SD.cpp:228:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  228 |     *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2];
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
src/DSi_SD.cpp:228:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  228 |     *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2];
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
src/DSi_SD.cpp:229:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  229 |     *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0];
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
src/DSi_SD.cpp:229:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  229 |     *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0];
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
src/DSi_SD.cpp:230:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  230 |     *(u32*)&ResponseBuffer[0] = val;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
src/DSi_SD.cpp: In member function 'u16 DSi_SDHost::ReadFIFO16()':
src/DSi_SD.cpp:491:19: warning: unused variable 'dev' [-Wunused-variable]
  491 |     DSi_SDDevice* dev = Ports[PortSelect & 0x1];
      |                   ^~~
src/DSi_SD.cpp: In member function 'u32 DSi_SDHost::ReadFIFO32()':
src/DSi_SD.cpp:512:19: warning: unused variable 'dev' [-Wunused-variable]
  512 |     DSi_SDDevice* dev = Ports[PortSelect & 0x1];
      |                   ^~~
src/DSi_SD.cpp: In member function 'void DSi_SDHost::WriteFIFO16(u16)':
src/DSi_SD.cpp:648:19: warning: unused variable 'dev' [-Wunused-variable]
  648 |     DSi_SDDevice* dev = Ports[PortSelect & 0x1];
      |                   ^~~
src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM8()':
src/SPU.cpp:344:13: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  344 |     if (Pos >= (LoopPos + Length))
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~
src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM16()':
src/SPU.cpp:367:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  367 |     if ((Pos<<1) >= (LoopPos + Length))
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
src/SPU.cpp: In member function 'void SPU::Channel::NextSample_ADPCM()':
src/SPU.cpp:406:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  406 |     if ((Pos>>1) >= (LoopPos + Length))
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
src/SPU.cpp:451:17: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  451 |         if (Pos == (LoopPos<<1))
      |             ~~~~^~~~~~~~~~~~~~~
src/SPU.cpp: In member function 'void SPU::CaptureUnit::Run(s32)':
src/SPU.cpp:652:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  652 |             if (Pos >= Length)
      |                 ~~~~^~~~~~~~~
src/SPU.cpp:675:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  675 |             if (Pos >= Length)
      |                 ~~~~^~~~~~~~~
src/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawScanline(u32, GPU2D::Unit*)':
src/GPU2D_Soft.cpp:256:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  256 |                 *(u64*)&dst[i] = *(u64*)&BGOBJLine[i];
      |                                   ^~~~~~~~~~~~~~~~~~~
src/SPI.cpp: In function 'void SPI_TSC::Write(u8, u32)':
src/SPI.cpp:643:35: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  643 |                     if (samplepos >= MicBufferLen) samplepos = MicBufferLen-1;
      |                         ~~~~~~~~~~^~~~~~~~~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanline_BGOBJ(u32)':
src/GPU2D_Soft.cpp:778:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  778 |             *(u64*)&BGOBJLine[i] = backdrop;
      |              ^~~~~~~~~~~~~~~~~~~
src/GPU2D_Soft.cpp:863:30: warning: variable 'evb' set but not used [-Wunused-but-set-variable]
  863 |                     u32 eva, evb;
      |                              ^~~
src/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawSprites(u32, GPU2D::Unit*)':
src/GPU2D_Soft.cpp:1746:21: warning: unused variable 'rotparamgroup' [-Wunused-variable]
 1746 |                 u32 rotparamgroup = (attrib[1] >> 9) & 0x1F;
      |                     ^~~~~~~~~~~~~
src/DSi_NDMA.cpp: In member function 'void DSi_NDMA::Run9()':
src/DSi_NDMA.cpp:169:10: warning: unused variable 'burststart' [-Wunused-variable]
  169 |     bool burststart = (Running == 2);
      |          ^~~~~~~~~~
src/DSi_NDMA.cpp: In member function 'void DSi_NDMA::Run7()':
src/DSi_NDMA.cpp:258:10: warning: unused variable 'burststart' [-Wunused-variable]
  258 |     bool burststart = (Running == 2);
      |          ^~~~~~~~~~
src/GPU2D_Soft.cpp: In instantiation of 'void GPU2D::SoftRenderer::DrawSprite_Normal(u32, u32, u32, s32, s32) [with bool window = true; u32 = unsigned int; s32 = int]':
src/GPU2D_Soft.cpp:1770:17:   required from here
 1645 |         DrawSprite_##type<true>(__VA_ARGS__); \
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
src/GPU2D_Soft.cpp:2200:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable]
 2200 |             s32 pixelstride;
      |                 ^~~~~~~~~~~
src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::PlotTranslucentPixel(u32, u32, u32, u32, u32)':
src/GPU3D_Soft.cpp:566:11: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  566 |     if (z != -1)
      |         ~~^~~~~
src/GPU2D_Soft.cpp: In instantiation of 'void GPU2D::SoftRenderer::DrawSprite_Normal(u32, u32, u32, s32, s32) [with bool window = false; u32 = unsigned int; s32 = int]':
src/GPU2D_Soft.cpp:1770:17:   required from here
 1649 |         DrawSprite_##type<false>(__VA_ARGS__); \
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
src/GPU2D_Soft.cpp:2200:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable]
 2200 |             s32 pixelstride;
      |                 ^~~~~~~~~~~
src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)':
src/GPU3D_Soft.cpp:716:13: warning: variable 'vlcur' set but not used [-Wunused-but-set-variable]
  716 |     Vertex *vlcur, *vlnext, *vrcur, *vrnext;
      |             ^~~~~
src/GPU3D_Soft.cpp:716:21: warning: variable 'vlnext' set but not used [-Wunused-but-set-variable]
  716 |     Vertex *vlcur, *vlnext, *vrcur, *vrnext;
      |                     ^~~~~~
src/GPU3D_Soft.cpp:716:30: warning: variable 'vrcur' set but not used [-Wunused-but-set-variable]
  716 |     Vertex *vlcur, *vlnext, *vrcur, *vrnext;
      |                              ^~~~~
src/GPU3D_Soft.cpp:716:38: warning: variable 'vrnext' set but not used [-Wunused-but-set-variable]
  716 |     Vertex *vlcur, *vlnext, *vrcur, *vrnext;
      |                                      ^~~~~~
src/GPU3D_Soft.cpp:721:22: warning: variable 'interp_start' set but not used [-Wunused-but-set-variable]
  721 |     Interpolator<1>* interp_start;
      |                      ^~~~~~~~~~~~
src/GPU3D_Soft.cpp:722:22: warning: variable 'interp_end' set but not used [-Wunused-but-set-variable]
  722 |     Interpolator<1>* interp_end;
      |                      ^~~~~~~~~~
src/GPU3D.cpp: In function 'void GPU3D::SubmitPolygon()':
src/GPU3D.cpp:1117:43: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1117 |         if (LastStripPolygon->NumVertices == lastpolyverts &&
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
src/GPU3D.cpp:1244:34: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]
 1244 |             if (vtx->Position[3] <= ZeroDotWLimit)
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
src/GPU3D.cpp:1028:9: warning: unused variable 'prev' [-Wunused-variable]
 1028 |     int prev, next;
      |         ^~~~
src/GPU3D.cpp:1028:15: warning: unused variable 'next' [-Wunused-variable]
 1028 |     int prev, next;
      |               ^~~~
src/GPU3D.cpp:1041:28: warning: variable 'v3' set but not used [-Wunused-but-set-variable]
 1041 |     Vertex *v0, *v1, *v2, *v3;
      |                            ^~
src/DSi.cpp: In function 'void DSi::DecryptModcryptArea(u32, u32, u8*)':
src/DSi.cpp:240:21: warning: variable 'binarysize' set but not used [-Wunused-but-set-variable]
  240 |     u32 binaryaddr, binarysize;
      |                     ^~~~~~~~~~
src/Wifi.cpp: In function 'bool Wifi::CheckRX(bool)':
src/Wifi.cpp:886:35: warning: 'a_src' may be used uninitialized [-Wmaybe-uninitialized]
  886 |         if (MACEqual(&RXBuffer[12 + a_src], (u8*)&IOPORT(W_MACAddr0)))
      |                                ~~~^~~~~~~
src/Wifi.cpp:837:13: note: 'a_src' was declared here
  837 |         u32 a_src, a_dst, a_bss;
      |             ^~~~~
src/Wifi.cpp:891:36: warning: 'a_dst' may be used uninitialized [-Wmaybe-uninitialized]
  891 |         if (!MACEqual(&RXBuffer[12 + a_dst], (u8*)&IOPORT(W_MACAddr0)) &&
      |                                 ~~~^~~~~~~
src/Wifi.cpp:837:20: note: 'a_dst' was declared here
  837 |         u32 a_src, a_dst, a_bss;
      |                    ^~~~~
src/Wifi.cpp:889:44: warning: 'a_bss' may be used uninitialized [-Wmaybe-uninitialized]
  889 |         bssidmatch = MACEqual(&RXBuffer[12 + a_bss], (u8*)&IOPORT(W_BSSID0));
      |                                         ~~~^~~~~~~
src/Wifi.cpp:837:27: note: 'a_bss' was declared here
  837 |         u32 a_src, a_dst, a_bss;
      |                           ^~~~~
src/DSi.cpp: In function 'void DSi::MapNWRAM_B(u32, u8)':
src/DSi.cpp:973:18: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  973 |         if (part == num)
      |             ~~~~~^~~~~~
src/DSi.cpp: In function 'void DSi::MapNWRAM_C(u32, u8)':
src/DSi.cpp:1028:18: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
 1028 |         if (part == num)
      |             ~~~~~^~~~~~
src/DSi.cpp: In function 'void DSi::ARM9IOWrite32(u32, u32)':
src/DSi.cpp:2341:17: warning: unused variable 'oldram' [-Wunused-variable]
 2341 |             u32 oldram = (SCFG_EXT[0] >> 14) & 0x3;
      |                 ^~~~~~
src/DSi.cpp:2342:17: warning: unused variable 'newram' [-Wunused-variable]
 2342 |             u32 newram = (val >> 14) & 0x3;
      |                 ^~~~~~
src/NDS.cpp: In function 'bool NDS::DoSavestate_Scheduler(Savestate*)':
src/NDS.cpp:702:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
  702 |                     if (j == funcid) break;
      |                         ~~^~~~~~~~~
src/NDS.cpp: In function 'void NDS::DivDone(u32)':
src/NDS.cpp:1732:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1732 |                 *(s64*)&DivRemainder[0] = num;
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1734:26: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'unsigned int' [-Wsign-compare]
 1734 |             else if (num == -0x80000000 && den == -1)
      |                      ~~~~^~~~~~~~~~~~~~
src/NDS.cpp:1736:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1736 |                 *(s64*)&DivQuotient[0] = 0x80000000;
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1740:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1740 |                 *(s64*)&DivQuotient[0] = (s64)(num / den);
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1741:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1741 |                 *(s64*)&DivRemainder[0] = (s64)(num % den);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1749:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1749 |             s64 num = *(s64*)&DivNumerator[0];
      |                        ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1753:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1753 |                 *(s64*)&DivQuotient[0] = (num<0) ? 1:-1;
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1754:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1754 |                 *(s64*)&DivRemainder[0] = num;
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1756:26: warning: comparison of integer expressions of different signedness: 's64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
 1756 |             else if (num == -0x8000000000000000 && den == -1)
      |                      ~~~~^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1758:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1758 |                 *(s64*)&DivQuotient[0] = 0x8000000000000000;
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1759:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1759 |                 *(s64*)&DivRemainder[0] = 0;
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1763:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1763 |                 *(s64*)&DivQuotient[0] = (s64)(num / den);
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1764:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1764 |                 *(s64*)&DivRemainder[0] = (s64)(num % den);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1771:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1771 |             s64 num = *(s64*)&DivNumerator[0];
      |                        ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1772:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1772 |             s64 den = *(s64*)&DivDenominator[0];
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1775:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1775 |                 *(s64*)&DivQuotient[0] = (num<0) ? 1:-1;
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1776:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1776 |                 *(s64*)&DivRemainder[0] = num;
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1778:26: warning: comparison of integer expressions of different signedness: 's64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
 1778 |             else if (num == -0x8000000000000000 && den == -1)
      |                      ~~~~^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1780:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1780 |                 *(s64*)&DivQuotient[0] = 0x8000000000000000;
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1781:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1781 |                 *(s64*)&DivRemainder[0] = 0;
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1785:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1785 |                 *(s64*)&DivQuotient[0] = (s64)(num / den);
      |                  ^~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp:1786:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1786 |                 *(s64*)&DivRemainder[0] = (s64)(num % den);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/NDS.cpp: In function 'void NDS::SqrtDone(u32)':
src/NDS.cpp:1816:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1816 |         val = *(u64*)&SqrtVal[0];
      |                ^~~~~~~~~~~~~~~~~
src/NDS.cpp: In function 'u16 NDS::ARM9IORead16(u32)':
src/NDS.cpp:2878:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 2878 |     case 0x040000E0: return ((u16*)DMA9Fill)[0];
      |                             ~^~~~~~~~~~~~~~~
src/libretro/libretro.cpp: In function 'void check_variables(bool)':
src/libretro/libretro.cpp:392:25: warning: unused variable 'old_hybrid_screen_value' [-Wunused-variable]
  392 |       SmallScreenLayout old_hybrid_screen_value = screen_layout_data.hybrid_small_screen; // Copy the hybrid screen value
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
src/ARMInterpreter_LoadStore.cpp: In function 'void ARMInterpreter::A_LDM(ARM*)':
src/ARMInterpreter_LoadStore.cpp:460:28: warning: 'wbbase' may be used uninitialized [-Wmaybe-uninitialized]
  460 |             cpu->R[baseid] = wbbase;
      |             ~~~~~~~~~~~~~~~^~~~~~~~
src/ARMInterpreter_LoadStore.cpp:391:9: note: 'wbbase' was declared here
  391 |     u32 wbbase;
      |         ^~~~~~
In file included from src/GPU.h:32,
                 from src/GPU.cpp:22:
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:177:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  177 |                 Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF;
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  175 |                 Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  175 |                 Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:179:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  179 |                 Data[i] = 0xFFFFFFFFFFFFFFFF;
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:177:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  177 |                 Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF;
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  175 |                 Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  175 |                 Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:179:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long long unsigned int [1]'} [-Warray-bounds=]
  179 |                 Data[i] = 0xFFFFFFFFFFFFFFFF;
      |                 ~~~~^
src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':
src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'
   36 |     u64 Data[DataLength];
      |         ^~~~
In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',
    inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:
src/NonStupidBitfield.h:179:25: warning: 'void* __builtin_memset(void*, int, unsigned int)' offset [8, 15] is out of the bounds [0, 8] of object '<return value> result' with type 'NonStupidBitField<16>' [-Warray-bounds=]
  179 |                 Data[i] = 0xFFFFFFFFFFFFFFFF;
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/GPU.cpp: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':
src/GPU.cpp:1258:10: note: '<return value> result' declared here
 1258 | template NonStupidBitField<8*1024/VRAMDirtyGranularity> VRAMTrackingSet<8*1024, 8*1024>::DeriveState(u32*);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Affine(u32, u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]':
src/GPU2D_Soft.cpp:1199:12: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1199 |     yshift -= 3;
      |     ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1149:9: note: 'yshift' was declared here
 1149 |     u32 yshift;
      |         ^~~~~~
src/GPU2D_Soft.cpp:1160:52: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1160 |     else                overflowmask = ~(coordmask | 0x7FF);
      |                                         ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1148:9: note: 'coordmask' was declared here
 1148 |     u32 coordmask;
      |         ^~~~~~~~~
In file included from src/GPU3D_Soft.cpp:19:
In member function 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]',
    inlined from 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]' at src/GPU3D_Soft.h:167:13,
    inlined from 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)' at src/GPU3D_Soft.cpp:815:37:
src/GPU3D_Soft.h:177:61: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized [-Wmaybe-uninitialized]
  177 |                     return z1 + (((s64)(z0-z1) * ((1<<shift)-yfactor)) >> shift);
      |                                                  ~~~~~~~~~~~^~~~~~~~~
src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)':
src/GPU3D_Soft.cpp:795:21: note: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' was declared here
  795 |     Interpolator<0> interpX(xstart, xend+1, wl, wr);
      |                     ^~~~~~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Affine(u32, u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]':
src/GPU2D_Soft.cpp:1199:12: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1199 |     yshift -= 3;
      |     ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1149:9: note: 'yshift' was declared here
 1149 |     u32 yshift;
      |         ^~~~~~
src/GPU2D_Soft.cpp:1160:52: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1160 |     else                overflowmask = ~(coordmask | 0x7FF);
      |                                         ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1148:9: note: 'coordmask' was declared here
 1148 |     u32 coordmask;
      |         ^~~~~~~~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Extended(u32, u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]':
src/GPU2D_Soft.cpp:1413:16: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1413 |         yshift -= 3;
      |         ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1381:13: note: 'yshift' was declared here
 1381 |         u32 yshift;
      |             ^~~~~~
src/GPU2D_Soft.cpp:1392:56: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1392 |         else                overflowmask = ~(coordmask | 0x7FF);
      |                                             ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1380:13: note: 'coordmask' was declared here
 1380 |         u32 coordmask;
      |             ^~~~~~~~~
src/GPU2D_Soft.cpp:1293:21: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1293 |             ofxmask = ~xmask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:13: note: 'xmask' was declared here
 1275 |         u32 xmask, ymask;
      |             ^~~~~
src/GPU2D_Soft.cpp:1294:21: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1294 |             ofymask = ~ymask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:20: note: 'ymask' was declared here
 1275 |         u32 xmask, ymask;
      |                    ^~~~~
src/GPU2D_Soft.cpp:1364:80: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1364 |                         color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp:1276:13: note: 'yshift' was declared here
 1276 |         u32 yshift;
      |             ^~~~~~
src/NDS.cpp: In function 'u64 NDS::GetSysClockCycles(int)':
src/NDS.cpp:1432:12: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
 1432 |     return ret;
      |            ^~~
src/NDS.cpp:1410:9: note: 'ret' was declared here
 1410 |     u64 ret;
      |         ^~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Extended(u32, u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]':
src/GPU2D_Soft.cpp:1413:16: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1413 |         yshift -= 3;
      |         ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1381:13: note: 'yshift' was declared here
 1381 |         u32 yshift;
      |             ^~~~~~
src/GPU2D_Soft.cpp:1392:56: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1392 |         else                overflowmask = ~(coordmask | 0x7FF);
      |                                             ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1380:13: note: 'coordmask' was declared here
 1380 |         u32 coordmask;
      |             ^~~~~~~~~
src/GPU2D_Soft.cpp:1293:21: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1293 |             ofxmask = ~xmask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:13: note: 'xmask' was declared here
 1275 |         u32 xmask, ymask;
      |             ^~~~~
src/GPU2D_Soft.cpp:1294:21: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1294 |             ofymask = ~ymask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:20: note: 'ymask' was declared here
 1275 |         u32 xmask, ymask;
      |                    ^~~~~
src/GPU2D_Soft.cpp:1364:80: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1364 |                         color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp:1276:13: note: 'yshift' was declared here
 1276 |         u32 yshift;
      |             ^~~~~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Affine(u32, u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]':
src/GPU2D_Soft.cpp:1199:12: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1199 |     yshift -= 3;
      |     ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1149:9: note: 'yshift' was declared here
 1149 |     u32 yshift;
      |         ^~~~~~
src/GPU2D_Soft.cpp:1160:52: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1160 |     else                overflowmask = ~(coordmask | 0x7FF);
      |                                         ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1148:9: note: 'coordmask' was declared here
 1148 |     u32 coordmask;
      |         ^~~~~~~~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Affine(u32, u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]':
src/GPU2D_Soft.cpp:1199:12: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1199 |     yshift -= 3;
      |     ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1149:9: note: 'yshift' was declared here
 1149 |     u32 yshift;
      |         ^~~~~~
src/GPU2D_Soft.cpp:1160:52: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1160 |     else                overflowmask = ~(coordmask | 0x7FF);
      |                                         ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1148:9: note: 'coordmask' was declared here
 1148 |     u32 coordmask;
      |         ^~~~~~~~~
In member function 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]',
    inlined from 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]' at src/GPU3D_Soft.h:167:13,
    inlined from 'void GPU3D::SoftRenderer::RenderPolygonScanline(RendererPolygon*, s32)' at src/GPU3D_Soft.cpp:1062:37:
src/GPU3D_Soft.h:177:61: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized [-Wmaybe-uninitialized]
  177 |                     return z1 + (((s64)(z0-z1) * ((1<<shift)-yfactor)) >> shift);
      |                                                  ~~~~~~~~~~~^~~~~~~~~
src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderPolygonScanline(RendererPolygon*, s32)':
src/GPU3D_Soft.cpp:1023:21: note: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' was declared here
 1023 |     Interpolator<0> interpX(xstart, xend+1, wl, wr);
      |                     ^~~~~~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Extended(u32, u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]':
src/GPU2D_Soft.cpp:1413:16: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1413 |         yshift -= 3;
      |         ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1381:13: note: 'yshift' was declared here
 1381 |         u32 yshift;
      |             ^~~~~~
src/GPU2D_Soft.cpp:1392:56: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1392 |         else                overflowmask = ~(coordmask | 0x7FF);
      |                                             ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1380:13: note: 'coordmask' was declared here
 1380 |         u32 coordmask;
      |             ^~~~~~~~~
src/GPU2D_Soft.cpp:1293:21: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1293 |             ofxmask = ~xmask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:13: note: 'xmask' was declared here
 1275 |         u32 xmask, ymask;
      |             ^~~~~
src/GPU2D_Soft.cpp:1294:21: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1294 |             ofymask = ~ymask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:20: note: 'ymask' was declared here
 1275 |         u32 xmask, ymask;
      |                    ^~~~~
src/GPU2D_Soft.cpp:1364:80: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1364 |                         color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp:1276:13: note: 'yshift' was declared here
 1276 |         u32 yshift;
      |             ^~~~~~
src/GPU2D_Soft.cpp: In function 'void GPU2D::SoftRenderer::DrawBG_Extended(u32, u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]':
src/GPU2D_Soft.cpp:1413:16: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1413 |         yshift -= 3;
      |         ~~~~~~~^~~~
src/GPU2D_Soft.cpp:1381:13: note: 'yshift' was declared here
 1381 |         u32 yshift;
      |             ^~~~~~
src/GPU2D_Soft.cpp:1392:56: warning: 'coordmask' may be used uninitialized [-Wmaybe-uninitialized]
 1392 |         else                overflowmask = ~(coordmask | 0x7FF);
      |                                             ~~~~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1380:13: note: 'coordmask' was declared here
 1380 |         u32 coordmask;
      |             ^~~~~~~~~
src/GPU2D_Soft.cpp:1293:21: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1293 |             ofxmask = ~xmask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:13: note: 'xmask' was declared here
 1275 |         u32 xmask, ymask;
      |             ^~~~~
src/GPU2D_Soft.cpp:1294:21: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1294 |             ofymask = ~ymask;
      |             ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp:1275:20: note: 'ymask' was declared here
 1275 |         u32 xmask, ymask;
      |                    ^~~~~
src/GPU2D_Soft.cpp:1364:80: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1364 |                         color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp:1276:13: note: 'yshift' was declared here
 1276 |         u32 yshift;
      |             ^~~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1492:17: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1492 |         ofxmask = ~xmask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:9: note: 'xmask' was declared here
 1474 |     u32 xmask, ymask;
      |         ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1493:17: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1493 |         ofymask = ~ymask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:16: note: 'ymask' was declared here
 1474 |     u32 xmask, ymask;
      |                ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1541:58: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1541 |                 color = bgvram[((((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1475:9: note: 'yshift' was declared here
 1475 |     u32 yshift;
      |         ^~~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1492:17: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1492 |         ofxmask = ~xmask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:9: note: 'xmask' was declared here
 1474 |     u32 xmask, ymask;
      |         ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1493:17: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1493 |         ofymask = ~ymask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:16: note: 'ymask' was declared here
 1474 |     u32 xmask, ymask;
      |                ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1541:58: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1541 |                 color = bgvram[((((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1475:9: note: 'yshift' was declared here
 1475 |     u32 yshift;
      |         ^~~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1492:17: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1492 |         ofxmask = ~xmask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:9: note: 'xmask' was declared here
 1474 |     u32 xmask, ymask;
      |         ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1493:17: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1493 |         ofymask = ~ymask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:16: note: 'ymask' was declared here
 1474 |     u32 xmask, ymask;
      |                ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1541:58: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1541 |                 color = bgvram[((((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1475:9: note: 'yshift' was declared here
 1475 |     u32 yshift;
      |         ^~~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1492:17: warning: 'xmask' may be used uninitialized [-Wmaybe-uninitialized]
 1492 |         ofxmask = ~xmask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:9: note: 'xmask' was declared here
 1474 |     u32 xmask, ymask;
      |         ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1493:17: warning: 'ymask' may be used uninitialized [-Wmaybe-uninitialized]
 1493 |         ofymask = ~ymask;
      |         ~~~~~~~~^~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1474:16: note: 'ymask' was declared here
 1474 |     u32 xmask, ymask;
      |                ^~~~~
In member function 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]',
    inlined from 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)' at src/GPU2D_Soft.cpp:704:17:
src/GPU2D_Soft.cpp:1541:58: warning: 'yshift' may be used uninitialized [-Wmaybe-uninitialized]
 1541 |                 color = bgvram[((((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask];
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)':
src/GPU2D_Soft.cpp:1475:9: note: 'yshift' was declared here
 1475 |     u32 yshift;
      |         ^~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawBG_Text(u32, u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel]':
src/GPU2D_Soft.cpp:1027:9: warning: 'curtile' may be used uninitialized [-Wmaybe-uninitialized]
 1027 |     u16 curtile;
      |         ^~~~~~~
src/GPU2D_Soft.cpp:1132:58: warning: 'curpal' may be used uninitialized [-Wmaybe-uninitialized]
 1132 |                     drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<<bgnum);
      |                                              ~~~~~~~~~~~~^
src/GPU2D_Soft.cpp:1028:10: note: 'curpal' was declared here
 1028 |     u16* curpal;
      |          ^~~~~~
src/GPU2D_Soft.cpp:1124:48: warning: 'pixelsaddr' may be used uninitialized [-Wmaybe-uninitialized]
 1124 |                     color = bgvram[(pixelsaddr + (tilexoff >> 1)) & bgvrammask] >> 4;
      |                                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/GPU2D_Soft.cpp:1029:9: note: 'pixelsaddr' was declared here
 1029 |     u32 pixelsaddr;
      |         ^~~~~~~~~~
src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawBG_Text(u32, u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]':
src/GPU2D_Soft.cpp:1027:9: warning: 'curtile' may be used uninitialized [-Wmaybe-uninitialized]
 1027 |     u16 curtile;
      |         ^~~~~~~
src/GPU2D_Soft.cpp:1132:58: warning: 'curpal' may be used uninitialized [-Wmaybe-uninitialized]
 1132 |                     drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<<bgnum);
      |                                              ~~~~~~~~~~~~^
src/GPU2D_Soft.cpp:1028:10: note: 'curpal' was declared here
 1028 |     u16* curpal;
      |          ^~~~~~
src/GPU2D_Soft.cpp:1124:48: warning: 'pixelsaddr' may be used uninitialized [-Wmaybe-uninitialized]
 1124 |                     color = bgvram[(pixelsaddr + (tilexoff >> 1)) & bgvrammask] >> 4;
      |                                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/GPU2D_Soft.cpp:1029:9: note: 'pixelsaddr' was declared here
 1029 |     u32 pixelsaddr;
      |         ^~~~~~~~~~
g++ -fPIC -shared -Wl,--version-script=./src/libretro/link.T -Wl,--no-undefined  -omelonds_libretro.so ./src/xxhash/xxhash.o ./src/tiny-AES-c/aes.o ./src/fatfs/diskio.o ./src/fatfs/ff.o ./src/fatfs/ffsystem.o ./src/fatfs/ffunicode.o ./src/sha1/sha1.o ./src/libretro/libretro-common/compat/compat_strl.o ./src/libretro/libretro-common/compat/fopen_utf8.o ./src/libretro/libretro-common/compat/compat_posix_string.o ./src/libretro/libretro-common/compat/compat_strcasestr.o ./src/libretro/libretro-common/encodings/encoding_utf.o ./src/libretro/libretro-common/file/file_path.o ./src/libretro/libretro-common/streams/file_stream.o ./src/libretro/libretro-common/streams/file_stream_transforms.o ./src/libretro/libretro-common/streams/memory_stream.o ./src/libretro/libretro-common/string/stdstring.o ./src/libretro/libretro-common/vfs/vfs_implementation.o ./src/libretro/libretro-common/rthreads/rthreads.o ./src/libretro/libretro-common/rthreads/rsemaphore.o ./src/NDS.o ./src/AREngine.o ./src/ARCodeFile.o ./src/ARM.o ./src/ARMInterpreter.o ./src/ARMInterpreter_ALU.o ./src/ARMInterpreter_Branch.o ./src/ARMInterpreter_LoadStore.o ./src/CP15.o ./src/CRC32.o ./src/DMA.o ./src/DSi.o ./src/DSi_AES.o ./src/DSi_Camera.o ./src/DSi_DSP.o ./src/DSi_I2C.o ./src/DSi_NAND.o ./src/DSi_NDMA.o ./src/DSi_NWifi.o ./src/DSi_SD.o ./src/DSi_SPI_TSC.o ./src/DSiCrypto.o ./src/GBACart.o ./src/GPU.o ./src/GPU2D.o ./src/GPU2D_Soft.o ./src/GPU3D.o ./src/GPU3D_Soft.o ./src/NDSCart.o ./src/NDSCart_SRAMManager.o ./src/RTC.o ./src/Savestate.o ./src/SPI.o ./src/SPU.o ./src/Wifi.o ./src/WifiAP.o ./src/frontend/Util_ROM.o ./src/libretro/config.o ./src/libretro/input.o ./src/libretro/libretro.o ./src/libretro/platform.o ./src/libretro/screenlayout.o ./src/libretro/utils.o ./src/teakra/src/ahbm.o ./src/teakra/src/apbp.o ./src/teakra/src/btdmp.o ./src/teakra/src/disassembler_c.o ./src/teakra/src/disassembler.o ./src/teakra/src/dma.o ./src/teakra/src/memory_interface.o ./src/teakra/src/mmio.o ./src/teakra/src/parser.o ./src/teakra/src/processor.o ./src/teakra/src/teakra_c.o ./src/teakra/src/teakra.o ./src/teakra/src/timer.o  -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lm -lpthread -lrt
>>> libretro-melonds: Entering fakeroot...
>>> libretro-melonds*: Running postcheck for libretro-melonds
>>> libretro-melonds*: Preparing package libretro-melonds...
>>> libretro-melonds*: Stripping binaries
>>> libretro-melonds*: Scanning shared objects
>>> libretro-melonds*: Tracing dependencies...
	so:libc.musl-x86.so.1
	so:libgcc_s.so.1
	so:libstdc++.so.6
>>> libretro-melonds*: Package size: 2.3 MB
>>> libretro-melonds*: Compressing data...
>>> libretro-melonds*: Create checksum...
>>> libretro-melonds*: Create libretro-melonds-0_git20221207-r0.apk
>>> libretro-melonds: Build complete at Fri, 01 Nov 2024 21:33:37 +0000 elapsed time 0h 1m 2s
>>> libretro-melonds: Cleaning up srcdir
>>> libretro-melonds: Cleaning up pkgdir
>>> libretro-melonds: Uninstalling dependencies...
(1/62) Purging .makedepends-libretro-melonds (20241101.213302)
(2/62) Purging mesa-dev (24.2.6-r0)
(3/62) Purging libxdamage-dev (1.1.6-r5)
(4/62) Purging libxdamage (1.1.6-r5)
(5/62) Purging libxshmfence-dev (1.3.2-r6)
(6/62) Purging mesa-egl (24.2.6-r0)
(7/62) Purging mesa-gbm (24.2.6-r0)
(8/62) Purging mesa-gl (24.2.6-r0)
(9/62) Purging mesa-gles (24.2.6-r0)
(10/62) Purging mesa-osmesa (24.2.6-r0)
(11/62) Purging mesa-rusticl (24.2.6-r0)
(12/62) Purging clang19-headers (19.1.2-r0)
(13/62) Purging libclc (19.1.2-r0)
(14/62) Purging mesa-xatracker (24.2.6-r0)
(15/62) Purging mesa (24.2.6-r0)
(16/62) Purging clang19-libs (19.1.2-r0)
(17/62) Purging libdrm-dev (2.4.123-r1)
(18/62) Purging linux-headers (6.6-r1)
(19/62) Purging libdrm (2.4.123-r1)
(20/62) Purging libelf (0.191-r0)
(21/62) Purging libpciaccess-dev (0.18.1-r0)
(22/62) Purging libpciaccess (0.18.1-r0)
(23/62) Purging hwdata-pci (0.388-r0)
(24/62) Purging libxfixes-dev (6.0.1-r4)
(25/62) Purging libxfixes (6.0.1-r4)
(26/62) Purging libxshmfence (1.3.2-r6)
(27/62) Purging libxxf86vm-dev (1.1.5-r6)
(28/62) Purging libxxf86vm (1.1.5-r6)
(29/62) Purging mesa-glapi (24.2.6-r0)
(30/62) Purging python3-pyc (3.12.7-r1)
(31/62) Purging python3-pycache-pyc0 (3.12.7-r1)
(32/62) Purging xcb-proto-pyc (1.17.0-r0)
(33/62) Purging pyc (3.12.7-r1)
(34/62) Purging spirv-llvm-translator-libs (19.1.0-r0)
(35/62) Purging spirv-tools (1.3.290.0-r0)
(36/62) Purging wayland-libs-client (1.23.1-r0)
(37/62) Purging wayland-libs-server (1.23.1-r0)
(38/62) Purging libxext-dev (1.3.6-r2)
(39/62) Purging libxext (1.3.6-r2)
(40/62) Purging libx11-dev (1.8.10-r0)
(41/62) Purging xtrans (1.5.1-r0)
(42/62) Purging libx11 (1.8.10-r0)
(43/62) Purging libxcb-dev (1.16.1-r0)
(44/62) Purging libxcb (1.16.1-r0)
(45/62) Purging xcb-proto (1.17.0-r0)
(46/62) Purging python3 (3.12.7-r1)
(47/62) Purging gdbm (1.24-r0)
(48/62) Purging libxdmcp-dev (1.1.5-r1)
(49/62) Purging libxdmcp (1.1.5-r1)
(50/62) Purging libbsd (0.12.2-r0)
(51/62) Purging libbz2 (1.0.8-r6)
(52/62) Purging llvm19-libs (19.1.2-r0)
(53/62) Purging libffi (3.4.6-r0)
(54/62) Purging libmd (1.1.0-r0)
(55/62) Purging libpanelw (6.5_p20241006-r2)
(56/62) Purging libxau-dev (1.0.11-r4)
(57/62) Purging libxau (1.0.11-r4)
(58/62) Purging libxml2 (2.13.4-r3)
(59/62) Purging mpdecimal (4.0.0-r0)
(60/62) Purging sqlite-libs (3.47.0-r0)
(61/62) Purging xorgproto (2024.1-r0)
(62/62) Purging xz-libs (5.6.3-r0)
Executing busybox-1.37.0-r5.trigger
OK: 396 MiB in 101 packages
>>> libretro-melonds: Updating the community/x86 repository index...
>>> libretro-melonds: Signing the index...