>>> libretro-melonds: Building community/libretro-melonds 0_git20210411-r0 (using abuild 3.9.0_rc2-r1) started Sat, 23 Oct 2021 12:14:21 +0000 >>> libretro-melonds: Checking sanity of /home/buildozer/aports/community/libretro-melonds/APKBUILD... >>> libretro-melonds: Analyzing dependencies... >>> libretro-melonds: Installing for build: build-base mesa-dev (1/43) Installing linux-headers (5.10.41-r0) (2/43) Installing libpciaccess (0.16-r0) (3/43) Installing libdrm (2.4.107-r0) (4/43) Installing libpciaccess-dev (0.16-r0) (5/43) Installing libdrm-dev (2.4.107-r0) (6/43) Installing libxau (1.0.9-r0) (7/43) Installing xorgproto (2021.5-r0) (8/43) Installing libxau-dev (1.0.9-r0) (9/43) Installing libmd (1.0.3-r0) (10/43) Installing libbsd (0.11.3-r1) (11/43) Installing libxdmcp (1.1.3-r0) (12/43) Installing libxcb (1.14-r2) (13/43) Installing libx11 (1.7.2-r0) (14/43) Installing libxext (1.3.4-r0) (15/43) Installing xcb-proto (1.14.1-r2) (16/43) Installing libxdmcp-dev (1.1.3-r0) (17/43) Installing libxcb-dev (1.14-r2) (18/43) Installing xtrans (1.4.0-r1) (19/43) Installing libx11-dev (1.7.2-r0) (20/43) Installing libxext-dev (1.3.4-r0) (21/43) Installing libxdamage (1.1.5-r1) (22/43) Installing libxfixes (6.0.0-r0) (23/43) Installing libxfixes-dev (6.0.0-r0) (24/43) Installing libxdamage-dev (1.1.5-r1) (25/43) Installing libxshmfence (1.3-r1) (26/43) Installing libxshmfence-dev (1.3-r1) (27/43) Installing mesa (21.2.4-r1) (28/43) Installing libffi (3.4.2-r1) (29/43) Installing wayland-libs-server (1.19.0-r1) (30/43) Installing mesa-gbm (21.2.4-r1) (31/43) Installing mesa-glapi (21.2.4-r1) (32/43) Installing wayland-libs-client (1.19.0-r1) (33/43) Installing mesa-egl (21.2.4-r1) (34/43) Installing libxxf86vm (1.1.4-r2) (35/43) Installing mesa-gl (21.2.4-r1) (36/43) Installing mesa-gles (21.2.4-r1) (37/43) Installing libxml2 (2.9.12-r1) (38/43) Installing llvm12-libs (12.0.1-r0) (39/43) Installing mesa-osmesa (21.2.4-r1) (40/43) Installing mesa-xatracker (21.2.4-r1) (41/43) Installing libxxf86vm-dev (1.1.4-r2) (42/43) Installing mesa-dev (21.2.4-r1) (43/43) Installing .makedepends-libretro-melonds (20211023.121426) OK: 485 MiB in 138 packages >>> libretro-melonds: Cleaning up srcdir >>> libretro-melonds: Cleaning up pkgdir >>> libretro-melonds: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/libretro-melonds-657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libretro-melonds: Fetching libretro-melonds-657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec.tar.gz::https://github.com/libretro/melonDS/archive/657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 158 100 158 0 0 820 0 --:--:-- --:--:-- --:--:-- 822 100 1950k 0 1950k 0 0 3066k 0 --:--:-- --:--:-- --:--:-- 3066k >>> libretro-melonds: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/libretro-melonds-657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec.tar.gz >>> libretro-melonds: Checking sha512sums... libretro-melonds-657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec.tar.gz: OK >>> libretro-melonds: Unpacking /var/cache/distfiles/v3.15/libretro-melonds-657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec.tar.gz... gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/xxhash/xxhash.o src/xxhash/xxhash.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/tiny-AES-c/aes.o src/tiny-AES-c/aes.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/compat_strl.o src/libretro/libretro-common/compat/compat_strl.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/fopen_utf8.o src/libretro/libretro-common/compat/fopen_utf8.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/compat_posix_string.o src/libretro/libretro-common/compat/compat_posix_string.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/compat_strcasestr.o src/libretro/libretro-common/compat/compat_strcasestr.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/encodings/encoding_utf.o src/libretro/libretro-common/encodings/encoding_utf.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/file/file_path.o src/libretro/libretro-common/file/file_path.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/streams/file_stream.o src/libretro/libretro-common/streams/file_stream.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/streams/file_stream_transforms.o src/libretro/libretro-common/streams/file_stream_transforms.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/streams/memory_stream.o src/libretro/libretro-common/streams/memory_stream.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/string/stdstring.o src/libretro/libretro-common/string/stdstring.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/vfs/vfs_implementation.o src/libretro/libretro-common/vfs/vfs_implementation.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/glsm/glsm.o src/libretro/libretro-common/glsm/glsm.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/glsym/rglgen.o src/libretro/libretro-common/glsym/rglgen.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/glsym/glsym_gl.o src/libretro/libretro-common/glsym/glsym_gl.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/rthreads/rthreads.o src/libretro/libretro-common/rthreads/rthreads.c gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/rthreads/rsemaphore.o src/libretro/libretro-common/rthreads/rsemaphore.c g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/NDS.o src/NDS.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/AREngine.o src/AREngine.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARM.o src/ARM.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter.o src/ARMInterpreter.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter_ALU.o src/ARMInterpreter_ALU.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter_Branch.o src/ARMInterpreter_Branch.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter_LoadStore.o src/ARMInterpreter_LoadStore.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/CP15.o src/CP15.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/CRC32.o src/CRC32.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DMA.o src/DMA.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi.o src/DSi.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 -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_AES.o src/DSi_AES.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_Camera.o src/DSi_Camera.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_I2C.o src/DSi_I2C.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_NDMA.o src/DSi_NDMA.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_NWifi.o src/DSi_NWifi.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_SD.o src/DSi_SD.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_SPI_TSC.o src/DSi_SPI_TSC.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSiCrypto.o src/DSiCrypto.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GBACart.o src/GBACart.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU.o src/GPU.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU2D.o src/GPU2D.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU2D_Soft.o src/GPU2D_Soft.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU3D.o src/GPU3D.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU3D_Soft.o src/GPU3D_Soft.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/NDSCart.o src/NDSCart.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/NDSCart_SRAMManager.o src/NDSCart_SRAMManager.cpp src/ARM.cpp: In member function 'virtual void ARMv4::JumpTo(u32, bool)': src/ARM.cpp:325:9: warning: unused variable 'oldregion' [-Wunused-variable] 325 | u32 oldregion = R[15] >> 23; | ^~~~~~~~~ src/ARM.cpp:326:9: warning: unused variable 'newregion' [-Wunused-variable] 326 | u32 newregion = addr >> 23; | ^~~~~~~~~ src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::BMI_Command()': src/DSi_NWifi.cpp:750:31: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 750 | for (int i = 0; i < len; i++) | ~~^~~~~ src/DSi_NWifi.cpp:752:20: warning: unused variable 'val' [-Wunused-variable] 752 | u8 val = Mailbox[0].Read(); | ^~~ src/DSi_NWifi.cpp:804:31: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 804 | for (int i = 0; i < len; i++) | ~~^~~~~ 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); | ^~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/RTC.o src/RTC.cpp 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_NWifi.cpp: In member function 'void DSi_NWifi::SendWMIEvent(u8, u16, u8*, u32)': src/DSi_NWifi.cpp:1309:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1309 | for (int i = 0; i < len; i++) | ~~^~~~~ src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::SendWMIBSSInfo(u8, u8*, u32)': src/DSi_NWifi.cpp:1386:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1386 | for (int i = 0; i < len; i++) | ~~^~~~~ 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:487:19: warning: unused variable 'dev' [-Wunused-variable] 487 | DSi_SDDevice* dev = Ports[PortSelect & 0x1]; | ^~~ src/DSi_SD.cpp: In member function 'u32 DSi_SDHost::ReadFIFO32()': src/DSi_SD.cpp:508:19: warning: unused variable 'dev' [-Wunused-variable] 508 | DSi_SDDevice* dev = Ports[PortSelect & 0x1]; | ^~~ src/DSi_SD.cpp: In member function 'void DSi_SDHost::WriteFIFO16(u16)': src/DSi_SD.cpp:640:19: warning: unused variable 'dev' [-Wunused-variable] 640 | DSi_SDDevice* dev = Ports[PortSelect & 0x1]; | ^~~ src/DSi_I2C.cpp: In function 'void DSi_BPTWL::Write(u8, bool)': src/DSi_I2C.cpp:100:16: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 100 | if (CurPos == -1) | ~~~~~~~^~~~~ src/GBACart.cpp: In function 'void GBACart_SRAM::Write8(u32, u8)': src/GBACart.cpp:462:8: warning: unused variable 'prev' [-Wunused-variable] 462 | u8 prev = *(u8*)&SRAM[addr]; | ^~~~ src/GBACart.cpp: In function 'void GBACart_SRAM::Write16(u32, u16)': src/GBACart.cpp:469:9: warning: unused variable 'prev' [-Wunused-variable] 469 | u16 prev = *(u16*)&SRAM[addr]; | ^~~~ src/GBACart.cpp: In function 'void GBACart_SRAM::Write32(u32, u32)': src/GBACart.cpp:477:9: warning: unused variable 'prev' [-Wunused-variable] 477 | u32 prev = *(u32*)&SRAM[addr]; | ^~~~ src/GBACart.cpp: In function 'void GBACart::LoadROMCommon(const char*)': src/GBACart.cpp:629:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 629 | for (int i = 0; i < sizeof(SOLAR_SENSOR_GAMECODES)/sizeof(SOLAR_SENSOR_GAMECODES[0]); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/Savestate.o src/Savestate.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/SPI.o src/SPI.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/SPU.o src/SPU.cpp src/Savestate.cpp:24: warning: "fclose" redefined 24 | #define fclose(stream) memstream_close(stream) | In file included from src/Savestate.cpp:21: src/Platform.h:30: note: this is the location of the previous definition 30 | #define fclose rfclose | src/Savestate.cpp:25: warning: "fread" redefined 25 | #define fread(data, len, count, stream) memstream_read(stream, data, len) | In file included from src/Savestate.cpp:21: src/Platform.h:31: note: this is the location of the previous definition 31 | #define fread rfread | src/Savestate.cpp:26: warning: "fwrite" redefined 26 | #define fwrite(data, len, count, stream) memstream_write(stream, data, len) | In file included from src/Platform.h:28, from src/Savestate.cpp:21: ./src/libretro/libretro-common/include/streams/file_stream_transforms.h:59: note: this is the location of the previous definition 59 | #define fwrite rfwrite | src/Savestate.cpp:27: warning: "fseek" redefined 27 | #define fseek(stream, offset, mask) memstream_seek(stream, offset, mask) | In file included from src/Savestate.cpp:21: src/Platform.h:32: note: this is the location of the previous definition 32 | #define fseek rfseek | src/Savestate.cpp:28: warning: "ftell" redefined 28 | #define ftell(stream) memstream_pos(stream) | In file included from src/Platform.h:28, from src/Savestate.cpp:21: ./src/libretro/libretro-common/include/streams/file_stream_transforms.h:54: note: this is the location of the previous definition 54 | #define ftell rftell | src/DMA.cpp: In instantiation of 'void DMA::Run9() [with int ConsoleType = 0]': src/DMA.cpp:425:43: required from 'void DMA::Run() [with int ConsoleType = 0]' src/DMA.cpp:429:27: required from here src/DMA.cpp:194:10: warning: unused variable 'burststart' [-Wunused-variable] 194 | bool burststart = (Running == 2); | ^~~~~~~~~~ src/DMA.cpp: In instantiation of 'void DMA::Run7() [with int ConsoleType = 0]': src/DMA.cpp:426:43: required from 'void DMA::Run() [with int ConsoleType = 0]' src/DMA.cpp:429:27: required from here src/DMA.cpp:313:10: warning: unused variable 'burststart' [-Wunused-variable] 313 | bool burststart = (Running == 2); | ^~~~~~~~~~ src/DMA.cpp: In instantiation of 'void DMA::Run9() [with int ConsoleType = 1]': src/DMA.cpp:425:43: required from 'void DMA::Run() [with int ConsoleType = 1]' src/DMA.cpp:430:27: required from here src/DMA.cpp:194:10: warning: unused variable 'burststart' [-Wunused-variable] 194 | bool burststart = (Running == 2); | ^~~~~~~~~~ src/DMA.cpp: In instantiation of 'void DMA::Run7() [with int ConsoleType = 1]': src/DMA.cpp:426:43: required from 'void DMA::Run() [with int ConsoleType = 1]' src/DMA.cpp:430:27: required from here src/DMA.cpp:313:10: warning: unused variable 'burststart' [-Wunused-variable] 313 | bool burststart = (Running == 2); | ^~~~~~~~~~ src/NDSCart_SRAMManager.cpp: In function 'void NDSCart_SRAMManager::FlushSecondaryBuffer(u8*, s32)': src/NDSCart_SRAMManager.cpp:158:30: 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:31: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 191 | if (!src || srcLength != Length) return; | ~~~~~~~~~~^~~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/Wifi.o src/Wifi.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/WifiAP.o src/WifiAP.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/config.o src/libretro/config.cpp src/Savestate.cpp: In destructor 'Savestate::~Savestate()': src/Savestate.cpp:171:24: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 171 | if (CurSection != -1) | ~~~~~~~~~~~^~~~~ src/Savestate.cpp: In member function 'void Savestate::Section(const char*)': src/Savestate.cpp:197:24: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 197 | if (CurSection != -1) | ~~~~~~~~~~~^~~~~ src/GPU.cpp: In function 'void GPU::Reset()': src/GPU.cpp:254:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 254 | for (int i = 0; i < fbsize; i++) | ~~^~~~~~~~ src/GPU.cpp:259:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 259 | for (int i = 0; i < fbsize; i++) | ~~^~~~~~~~ src/NDS.cpp: In function 'bool NDS::DoSavestate_Scheduler(Savestate*)': src/NDS.cpp:655:28: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 655 | if (funcid == -1) | ~~~~~~~^~~~~ src/NDS.cpp:676:24: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 676 | if (funcid != -1) | ~~~~~~~^~~~~ src/NDS.cpp:685:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 685 | if (j == funcid) break; | ~~^~~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/input.o src/libretro/input.cpp src/NDS.cpp: In function 'void NDS::NocashPrint(u32, u32)': src/NDS.cpp:1474:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1474 | sprintf(subs, ""); | ^~ src/NDS.cpp: In function 'void NDS::RunTimer(u32, s32)': src/NDS.cpp:1551:9: warning: unused variable 'oldcount' [-Wunused-variable] 1551 | u32 oldcount = timer->Counter; | ^~~~~~~~ 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/NDS.cpp: In function 'void NDS::DivDone(u32)': src/NDS.cpp:1731:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1731 | *(s64*)&DivRemainder[0] = num; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1733:26: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1733 | else if (num == -0x80000000 && den == -1) | ~~~~^~~~~~~~~~~~~~ src/NDS.cpp:1735:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1735 | *(s64*)&DivQuotient[0] = 0x80000000; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1739:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1739 | *(s64*)&DivQuotient[0] = (s64)(num / den); | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1740:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1740 | *(s64*)&DivRemainder[0] = (s64)(num % den); | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1748:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1748 | s64 num = *(s64*)&DivNumerator[0]; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1752:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1752 | *(s64*)&DivQuotient[0] = (num<0) ? 1:-1; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1753:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1753 | *(s64*)&DivRemainder[0] = num; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1755:26: warning: comparison of integer expressions of different signedness: 's64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1755 | else if (num == -0x8000000000000000 && den == -1) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1757:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1757 | *(s64*)&DivQuotient[0] = 0x8000000000000000; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1758:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1758 | *(s64*)&DivRemainder[0] = 0; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1762:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1762 | *(s64*)&DivQuotient[0] = (s64)(num / den); | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1763:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1763 | *(s64*)&DivRemainder[0] = (s64)(num % den); | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1770:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1770 | s64 num = *(s64*)&DivNumerator[0]; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1771:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1771 | s64 den = *(s64*)&DivDenominator[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1774:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1774 | *(s64*)&DivQuotient[0] = (num<0) ? 1:-1; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1775:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1775 | *(s64*)&DivRemainder[0] = num; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1777:26: warning: comparison of integer expressions of different signedness: 's64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1777 | else if (num == -0x8000000000000000 && den == -1) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1779:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1779 | *(s64*)&DivQuotient[0] = 0x8000000000000000; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1780:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1780 | *(s64*)&DivRemainder[0] = 0; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1784:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1784 | *(s64*)&DivQuotient[0] = (s64)(num / den); | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1785:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1785 | *(s64*)&DivRemainder[0] = (s64)(num % den); | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp: In function 'void NDS::SqrtDone(u32)': src/NDS.cpp:1815:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1815 | val = *(u64*)&SqrtVal[0]; | ^~~~~~~~~~~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro.o src/libretro/libretro.cpp src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM8()': src/SPU.cpp:291:13: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 291 | if (Pos >= (LoopPos + Length)) | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM16()': src/SPU.cpp:314:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 314 | if ((Pos<<1) >= (LoopPos + Length)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/SPU.cpp: In member function 'void SPU::Channel::NextSample_ADPCM()': src/SPU.cpp:353:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 353 | if ((Pos>>1) >= (LoopPos + Length)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/SPU.cpp:398:17: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 398 | if (Pos == (LoopPos<<1)) | ~~~~^~~~~~~~~~~~~~~ src/SPU.cpp: In member function 'void SPU::CaptureUnit::Run(s32)': src/SPU.cpp:561:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 561 | if (Pos >= Length) | ~~~~^~~~~~~~~ src/SPU.cpp:584:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 584 | if (Pos >= Length) | ~~~~^~~~~~~~~ src/NDS.cpp: In function 'u16 NDS::ARM9IORead16(u32)': src/NDS.cpp:2917:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2917 | case 0x040000E0: return ((u16*)DMA9Fill)[0]; | ~^~~~~~~~~~~~~~~ src/GPU.cpp: In function 'void GPU::StartScanline(u32)': src/GPU.cpp:1070:25: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1070 | else if (NextVCount != -1) | ~~~~~~~~~~~^~~~~ src/GPU3D.cpp: In function 'void GPU3D::DoSavestate(Savestate*)': src/GPU3D.cpp:489:16: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 489 | if (id == -1) LastStripPolygon = NULL; | ~~~^~~~~ src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::PlotTranslucentPixel(u32, u32, u32, u32, u32)': src/GPU3D_Soft.cpp:565:11: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 565 | if (z != -1) | ~~^~~~~ src/GPU3D.cpp:538:24: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 538 | if (id == -1) poly->Vertices[j] = NULL; | ~~~^~~~~ In file included from src/GPU.cpp:22: src/GPU.h: In instantiation of 'void GPU::VRAMTrackingSet::Reset() [with unsigned int Size = 524288; unsigned int MappingGranularity = 16384]': src/GPU.cpp:175:25: required from here src/GPU.h:103:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 103 | for (int i = 0; i < Size / MappingGranularity; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/GPU.h: In instantiation of 'void GPU::VRAMTrackingSet::Reset() [with unsigned int Size = 131072; unsigned int MappingGranularity = 16384]': src/GPU.cpp:176:25: required from here src/GPU.h:103:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] src/GPU3D.cpp:577:31: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 577 | for (int j = 0; j < poly->NumVertices; j++) | ~~^~~~~~~~~~~~~~~~~~~ src/GPU.h: In instantiation of 'void GPU::VRAMTrackingSet::Reset() [with unsigned int Size = 262144; unsigned int MappingGranularity = 16384]': src/GPU.cpp:177:26: required from here src/GPU.h:103:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] src/GPU.h: In instantiation of 'void GPU::VRAMTrackingSet::Reset() [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]': src/GPU.cpp:179:31: required from here src/GPU.h:103:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] src/GPU.h: In instantiation of 'void GPU::VRAMTrackingSet::Reset() [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]': src/GPU.cpp:181:32: required from here src/GPU.h:103:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] src/GPU.h: In instantiation of 'void GPU::VRAMTrackingSet::Reset() [with unsigned int Size = 524288; unsigned int MappingGranularity = 131072]': src/GPU.cpp:183:29: required from here src/GPU.h:103:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(GPU3D::SoftRenderer::RendererPolygon*, s32)': src/GPU3D_Soft.cpp:715:13: warning: variable 'vlcur' set but not used [-Wunused-but-set-variable] 715 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~ src/GPU3D_Soft.cpp:715:21: warning: variable 'vlnext' set but not used [-Wunused-but-set-variable] 715 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~~ src/GPU3D_Soft.cpp:715:30: warning: variable 'vrcur' set but not used [-Wunused-but-set-variable] 715 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~ src/GPU3D_Soft.cpp:715:38: warning: variable 'vrnext' set but not used [-Wunused-but-set-variable] 715 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~~ src/GPU3D_Soft.cpp:720:22: warning: variable 'interp_start' set but not used [-Wunused-but-set-variable] 720 | Interpolator<1>* interp_start; | ^~~~~~~~~~~~ src/GPU3D_Soft.cpp:721:22: warning: variable 'interp_end' set but not used [-Wunused-but-set-variable] 721 | Interpolator<1>* interp_end; | ^~~~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/platform.o src/libretro/platform.cpp src/GPU3D.cpp: In function 'void GPU3D::SubmitPolygon()': src/GPU3D.cpp:1111:43: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1111 | if (LastStripPolygon->NumVertices == lastpolyverts && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/screenlayout.o src/libretro/screenlayout.cpp src/GPU3D.cpp:1238:34: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1238 | if (vtx->Position[3] <= ZeroDotWLimit) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/GPU3D.cpp:1022:9: warning: unused variable 'prev' [-Wunused-variable] 1022 | int prev, next; | ^~~~ src/GPU3D.cpp:1022:15: warning: unused variable 'next' [-Wunused-variable] 1022 | int prev, next; | ^~~~ src/GPU3D.cpp:1035:28: warning: variable 'v3' set but not used [-Wunused-but-set-variable] 1035 | Vertex *v0, *v1, *v2, *v3; | ^~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/utils.o src/libretro/utils.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU_OpenGL.o src/GPU_OpenGL.cpp In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h: In instantiation of 'void NonStupidBitField::SetRange(u32, u32) [with unsigned int Size = 64; u32 = unsigned int]': src/GPU.cpp:1195:28: required from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192; u32 = unsigned int]' src/GPU.cpp:1250:108: required from here src/NonStupidBitfield.h:151:51: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 151 | u64 entriesCount = ((startBit + bitsCount + 0x3F & ~0x3F) >> 6) - startEntry; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/NonStupidBitfield.h:160:44: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 160 | for (int i = startEntry + 1; i < startEntry + entriesCount - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h: In instantiation of 'void NonStupidBitField::SetRange(u32, u32) [with unsigned int Size = 16; u32 = unsigned int]': src/GPU.cpp:1195:28: required from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192; u32 = unsigned int]' src/GPU.cpp:1251:106: required from here src/NonStupidBitfield.h:151:51: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 151 | u64 entriesCount = ((startBit + bitsCount + 0x3F & ~0x3F) >> 6) - startEntry; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/NonStupidBitfield.h:160:44: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 160 | for (int i = startEntry + 1; i < startEntry + entriesCount - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h: In instantiation of 'void NonStupidBitField::SetRange(u32, u32) [with unsigned int Size = 1024; u32 = unsigned int]': src/GPU.cpp:1195:28: required from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet::DeriveState(u32*) [with unsigned int Size = 524288; unsigned int MappingGranularity = 131072; u32 = unsigned int]' src/GPU.cpp:1252:112: required from here src/NonStupidBitfield.h:151:51: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 151 | u64 entriesCount = ((startBit + bitsCount + 0x3F & ~0x3F) >> 6) - startEntry; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/NonStupidBitfield.h:160:44: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 160 | for (int i = startEntry + 1; i < startEntry + entriesCount - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h: In instantiation of 'void NonStupidBitField::SetRange(u32, u32) [with unsigned int Size = 256; u32 = unsigned int]': src/GPU.cpp:1195:28: required from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet::DeriveState(u32*) [with unsigned int Size = 131072; unsigned int MappingGranularity = 16384; u32 = unsigned int]' src/GPU.cpp:1253:111: required from here src/NonStupidBitfield.h:151:51: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 151 | u64 entriesCount = ((startBit + bitsCount + 0x3F & ~0x3F) >> 6) - startEntry; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/NonStupidBitfield.h:160:44: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 160 | for (int i = startEntry + 1; i < startEntry + entriesCount - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h: In instantiation of 'void NonStupidBitField::SetRange(u32, u32) [with unsigned int Size = 512; u32 = unsigned int]': src/GPU.cpp:1195:28: required from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet::DeriveState(u32*) [with unsigned int Size = 262144; unsigned int MappingGranularity = 16384; u32 = unsigned int]' src/GPU.cpp:1254:111: required from here src/NonStupidBitfield.h:151:51: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 151 | u64 entriesCount = ((startBit + bitsCount + 0x3F & ~0x3F) >> 6) - startEntry; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/NonStupidBitfield.h:160:44: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 160 | for (int i = startEntry + 1; i < startEntry + entriesCount - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/DSi.cpp: In function 'void DSi::ARM9IOWrite32(u32, u32)': src/DSi.cpp:1623:17: warning: unused variable 'oldram' [-Wunused-variable] 1623 | u32 oldram = (SCFG_EXT[0] >> 14) & 0x3; | ^~~~~~ src/DSi.cpp:1624:17: warning: unused variable 'newram' [-Wunused-variable] 1624 | u32 newram = (val >> 14) & 0x3; | ^~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU3D_OpenGL.o src/GPU3D_OpenGL.cpp src/SPI.cpp: In function 'void SPI_TSC::Write(u8, u32)': src/SPI.cpp:632:35: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 632 | if (samplepos >= MicBufferLen) samplepos = MicBufferLen-1; | ~~~~~~~~~~^~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawScanline(u32, GPU2D::Unit*)': src/GPU2D_Soft.cpp:238:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 238 | *(u64*)&dst[i] = *(u64*)&BGOBJLine[i]; | ^~~~~~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanline_BGOBJ(u32)': src/GPU2D_Soft.cpp:760:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 760 | *(u64*)&BGOBJLine[i] = backdrop; | ^~~~~~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp:845:30: warning: variable 'evb' set but not used [-Wunused-but-set-variable] 845 | u32 eva, evb; | ^~~ src/Wifi.cpp: In function 'void Wifi::SendMPDefaultReply()': src/Wifi.cpp:503:6: 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:6: warning: unused variable 'txlen' [-Wunused-variable] 533 | int txlen = Platform::MP_SendPacket(ack, 12+32); | ^~~~~ src/Wifi.cpp: In function 'bool Wifi::ProcessTX(Wifi::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/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawSprites(u32, GPU2D::Unit*)': src/GPU2D_Soft.cpp:1729:21: warning: unused variable 'rotparamgroup' [-Wunused-variable] 1729 | u32 rotparamgroup = (attrib[1] >> 9) & 0x1F; | ^~~~~~~~~~~~~ src/Wifi.cpp: In function 'void Wifi::USTimer(u32)': src/Wifi.cpp:1088:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1088 | if (TXCurSlot == -1) | ~~~~~~~~~~^~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/OpenGLSupport.o src/OpenGLSupport.cpp src/GPU2D_Soft.cpp: In instantiation of 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel; u32 = unsigned int]': src/GPU2D_Soft.cpp:686:17: required from here src/GPU2D_Soft.cpp:1449:9: warning: unused variable 'tilesetaddr' [-Wunused-variable] 1449 | u32 tilesetaddr, tilemapaddr; | ^~~~~~~~~~~ src/GPU2D_Soft.cpp: In instantiation of 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = true; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal; u32 = unsigned int]': src/GPU2D_Soft.cpp:686:17: required from here src/GPU2D_Soft.cpp:1449:9: warning: unused variable 'tilesetaddr' [-Wunused-variable] src/GPU2D_Soft.cpp: In instantiation of 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Accel; u32 = unsigned int]': src/GPU2D_Soft.cpp:686:17: required from here src/GPU2D_Soft.cpp:1449:9: warning: unused variable 'tilesetaddr' [-Wunused-variable] src/GPU2D_Soft.cpp: In instantiation of 'void GPU2D::SoftRenderer::DrawBG_Large(u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal; u32 = unsigned int]': src/GPU2D_Soft.cpp:686:17: required from here src/GPU2D_Soft.cpp:1449:9: warning: unused variable 'tilesetaddr' [-Wunused-variable] g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/opengl.o src/libretro/opengl.cpp 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:1753:17: required from here src/GPU2D_Soft.cpp:2183:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable] 2183 | s32 pixelstride; | ^~~~~~~~~~~ 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:1753:17: required from here src/GPU2D_Soft.cpp:2183:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable] g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT.o src/ARMJIT.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_Memory.o src/ARMJIT_Memory.cpp src/ARMInterpreter_LoadStore.cpp: In function 'void ARMInterpreter::A_LDM(ARM*)': src/ARMInterpreter_LoadStore.cpp:456:36: warning: 'wbbase' may be used uninitialized in this function [-Wmaybe-uninitialized] 456 | cpu->R[baseid] = wbbase; | ~~~~~~~~~~~~~~~^~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARM_InstrInfo.o src/ARM_InstrInfo.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/CommonFuncs.o src/dolphin/CommonFuncs.cpp src/Wifi.cpp: In function 'bool Wifi::CheckRX(bool)': src/Wifi.cpp:889:44: warning: 'a_bss' may be used uninitialized in this function [-Wmaybe-uninitialized] 889 | bssidmatch = MACEqual(&RXBuffer[12 + a_bss], (u8*)&IOPORT(W_BSSID0)); | ~~~^~~~~~~ src/Wifi.cpp:891:36: warning: 'a_dst' may be used uninitialized in this function [-Wmaybe-uninitialized] 891 | if (!MACEqual(&RXBuffer[12 + a_dst], (u8*)&IOPORT(W_MACAddr0)) && | ~~~^~~~~~~ src/Wifi.cpp:886:35: warning: 'a_src' may be used uninitialized in this function [-Wmaybe-uninitialized] 886 | if (MACEqual(&RXBuffer[12 + a_src], (u8*)&IOPORT(W_MACAddr0))) | ~~~^~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/x64ABI.o src/dolphin/x64ABI.cpp In file included from src/GPU3D_Soft.cpp:19: src/GPU3D_Soft.h:174:50: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized in this function [-Wmaybe-uninitialized] 174 | return z0 + (((s64)(z1-z0) * yfactor) >> shift); | ^~~~~~~ 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); | ^~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/x64CPUDetect.o src/dolphin/x64CPUDetect.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/x64Emitter.o src/dolphin/x64Emitter.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_ALU.o src/ARMJIT_x64/ARMJIT_ALU.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_Branch.o src/ARMJIT_x64/ARMJIT_Branch.cpp src/NDS.cpp: In function 'u64 NDS::GetSysClockCycles(int)': src/NDS.cpp:1408:12: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 1408 | return ret; | ^~~ 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:1181:12: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1181 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1142:52: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1142 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_Compiler.o src/ARMJIT_x64/ARMJIT_Compiler.cpp g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_GenOffsets.o src/ARMJIT_x64/ARMJIT_GenOffsets.cpp src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]': src/NonStupidBitfield.h:159:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 159 | Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF; | ~~~~^ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<64>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h:157:53: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 157 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<64>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h:157:53: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 157 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<64>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h:161:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 161 | Data[i] = 0xFFFFFFFFFFFFFFFF; | ~~~~^ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<64>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ 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:1181:12: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1181 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1142:52: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1142 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]': src/NonStupidBitfield.h:159:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 159 | Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF; | ~~~~^ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<16>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h:157:53: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 157 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<16>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h:157:53: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 157 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<16>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ In file included from src/GPU.h:32, from src/GPU.cpp:22: src/NonStupidBitfield.h:161:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds] 161 | Data[i] = 0xFFFFFFFFFFFFFFFF; | ~~~~^ src/NonStupidBitfield.h:18:9: note: while referencing 'NonStupidBitField<16>::Data' 18 | u64 Data[DataLength]; | ^~~~ src/GPU.cpp:1189:50: note: defined here 'result' 1189 | NonStupidBitField result; | ^~~~~~ src/GPU3D_OpenGL.cpp: In member function 'void GPU3D::GLRenderer::BuildPolygons(GPU3D::GLRenderer::RendererPolygon*, int)': src/GPU3D_OpenGL.cpp:511:31: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 511 | for (int j = 0; j < poly->NumVertices; j++) | ~~^~~~~~~~~~~~~~~~~~~ src/GPU3D_OpenGL.cpp:517:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 517 | if (lastx == vtx->FinalPosition[0] && | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/GPU3D_OpenGL.cpp:518:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 518 | lasty == vtx->FinalPosition[1]) continue; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/GPU3D_OpenGL.cpp:560:35: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 560 | for (int j = 0; j < poly->NumVertices; j++) | ~~^~~~~~~~~~~~~~~~~~~ src/GPU3D_OpenGL.cpp:591:35: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 591 | for (int j = 0; j < poly->NumVertices; j++) | ~~^~~~~~~~~~~~~~~~~~~ src/GPU3D_OpenGL.cpp:654:35: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 654 | for (int j = 0; j < poly->NumVertices; j++) | ~~^~~~~~~~~~~~~~~~~~~ src/GPU3D_OpenGL.cpp:683:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 683 | for (int j = 1; j < poly->NumVertices; j++) | ~~^~~~~~~~~~~~~~~~~~~ src/GPU3D_OpenGL.cpp: In member function 'virtual void GPU3D::GLRenderer::RenderFrame()': src/GPU3D_OpenGL.cpp:1262:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1262 | for (int i = 0; i < RenderNumPolygons; i++) | ~~^~~~~~~~~~~~~~~~~~~ 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:1395:16: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1395 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1374:56: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1374 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1346:80: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1346 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1276:21: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1276 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1275:21: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1275 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ g++ -Os -fomit-frame-pointer -O3 -fno-tree-vectorize -std=gnu++14 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_LoadStore.o src/ARMJIT_x64/ARMJIT_LoadStore.cpp gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/ARMJIT_x64/ -DGIT_VERSION=\"" 6ef8a4d4d7"\" -DMELONDS_VERSION=\""0.9.1"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -x assembler-with-cpp -c -osrc/ARMJIT_x64/ARMJIT_Linkage.o src/ARMJIT_x64/ARMJIT_Linkage.S In file included from /usr/include/c++/10.3.1/cstddef:50, from src/ARMJIT_x64/../dolphin/x64Emitter.h:9, from src/ARMJIT_x64/ARMJIT_Compiler.h:4, from src/ARMJIT_x64/ARMJIT_Branch.cpp:1: src/ARMJIT_x64/ARMJIT_Branch.cpp: In member function 'void ARMJIT::Compiler::Comp_JumpTo(u32, bool)': src/ARMJIT_x64/ARMJIT_Branch.cpp:44:42: warning: 'offsetof' within non-standard-layout type 'ARMv5' is conditionally-supported [-Winvalid-offsetof] 44 | MOV(32, MDisp(RCPU, offsetof(ARMv5, RegionCodeCycles)), Imm32(regionCodeCycles)); | ^ src/ARMJIT_x64/ARMJIT_Branch.cpp:91:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 91 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeRegion)), Imm32(codeRegion)); | ^ src/ARMJIT_x64/ARMJIT_Branch.cpp:92:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 92 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeCycles)), Imm32(codeCycles)); | ^ src/ARMJIT_x64/ARMJIT_Branch.cpp:126:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 126 | MOV(32, MDisp(RCPU, offsetof(ARM, R[15])), Imm32(newPC)); | ^ src/ARMJIT_x64/ARMJIT_Branch.cpp:130:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 130 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles)); | ^ 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:1395:16: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1395 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1374:56: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1374 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1346:80: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1346 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1276:21: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1276 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1275:21: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1275 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ In file included from /usr/include/c++/10.3.1/bits/cxxabi_init_exception.h:38, from /usr/include/c++/10.3.1/bits/exception_ptr.h:38, from /usr/include/c++/10.3.1/exception:147, from /usr/include/c++/10.3.1/new:41, from /usr/include/c++/10.3.1/bits/stl_construct.h:59, from /usr/include/c++/10.3.1/bits/stl_tempbuf.h:60, from /usr/include/c++/10.3.1/bits/stl_algo.h:62, from /usr/include/c++/10.3.1/algorithm:62, from src/ARM.h:22, from src/ARMJIT.h:6, from src/ARMJIT.cpp:1: src/ARMJIT.cpp:33:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 33 | static_assert(offsetof(ARM, CPSR) == ARM_CPSR_offset, ""); | ^ src/ARMJIT.cpp:34:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 34 | static_assert(offsetof(ARM, Cycles) == ARM_Cycles_offset, ""); | ^ src/ARMJIT.cpp:35:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 35 | static_assert(offsetof(ARM, StopExecution) == ARM_StopExecution_offset, ""); | ^ In file included from /usr/include/c++/10.3.1/bits/cxxabi_init_exception.h:38, from /usr/include/c++/10.3.1/bits/exception_ptr.h:38, from /usr/include/c++/10.3.1/exception:147, from /usr/include/c++/10.3.1/new:41, from /usr/include/c++/10.3.1/bits/stl_construct.h:59, from /usr/include/c++/10.3.1/bits/stl_tempbuf.h:60, from /usr/include/c++/10.3.1/bits/stl_algo.h:62, from /usr/include/c++/10.3.1/algorithm:62, from src/ARMJIT_x64/../ARM.h:22, from src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:1: src/ARMJIT_x64/ARMJIT_GenOffsets.cpp: In function 'int main(int, char**)': src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:7:69: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 7 | fprintf(f, "#define ARM_" #field "_offset 0x%x\n", offsetof(ARM, field)) | ^ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:9:5: note: in expansion of macro 'writeOffset' 9 | writeOffset(CPSR); | ^~~~~~~~~~~ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:7:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 7 | fprintf(f, "#define ARM_" #field "_offset 0x%x\n", offsetof(ARM, field)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:9:5: note: in expansion of macro 'writeOffset' 9 | writeOffset(CPSR); | ^~~~~~~~~~~ In file included from /usr/include/c++/10.3.1/bits/cxxabi_init_exception.h:38, from /usr/include/c++/10.3.1/bits/exception_ptr.h:38, from /usr/include/c++/10.3.1/exception:147, from /usr/include/c++/10.3.1/new:41, from /usr/include/c++/10.3.1/bits/stl_construct.h:59, from /usr/include/c++/10.3.1/bits/stl_tempbuf.h:60, from /usr/include/c++/10.3.1/bits/stl_algo.h:62, from /usr/include/c++/10.3.1/algorithm:62, from src/ARMJIT_x64/../ARM.h:22, from src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:1: src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:7:69: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 7 | fprintf(f, "#define ARM_" #field "_offset 0x%x\n", offsetof(ARM, field)) | ^ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:10:5: note: in expansion of macro 'writeOffset' 10 | writeOffset(Cycles); | ^~~~~~~~~~~ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:7:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 7 | fprintf(f, "#define ARM_" #field "_offset 0x%x\n", offsetof(ARM, field)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:10:5: note: in expansion of macro 'writeOffset' 10 | writeOffset(Cycles); | ^~~~~~~~~~~ In file included from /usr/include/c++/10.3.1/bits/cxxabi_init_exception.h:38, from /usr/include/c++/10.3.1/bits/exception_ptr.h:38, from /usr/include/c++/10.3.1/exception:147, from /usr/include/c++/10.3.1/new:41, from /usr/include/c++/10.3.1/bits/stl_construct.h:59, from /usr/include/c++/10.3.1/bits/stl_tempbuf.h:60, from /usr/include/c++/10.3.1/bits/stl_algo.h:62, from /usr/include/c++/10.3.1/algorithm:62, from src/ARMJIT_x64/../ARM.h:22, from src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:1: src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:7:69: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 7 | fprintf(f, "#define ARM_" #field "_offset 0x%x\n", offsetof(ARM, field)) | ^ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:11:5: note: in expansion of macro 'writeOffset' 11 | writeOffset(StopExecution); | ^~~~~~~~~~~ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:7:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 7 | fprintf(f, "#define ARM_" #field "_offset 0x%x\n", offsetof(ARM, field)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ARMJIT_x64/ARMJIT_GenOffsets.cpp:11:5: note: in expansion of macro 'writeOffset' 11 | writeOffset(StopExecution); | ^~~~~~~~~~~ src/ARMJIT.cpp: In function 'void ARMJIT::CompileBlock(ARM*)': src/ARMJIT.cpp:649:31: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 649 | for (int j = 0; j < numAddressRanges; j++) | ~~^~~~~~~~~~~~~~~~~~ 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:1181:12: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1181 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1142:52: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1142 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ src/ARMJIT.cpp:856:31: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 856 | for (int j = 0; j < numAddressRanges; j++) | ~~^~~~~~~~~~~~~~~~~~ src/ARMJIT.cpp:883:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 883 | for (int j = 0; j < numAddressRanges; j++) | ~~^~~~~~~~~~~~~~~~~~ src/ARMJIT.cpp:885:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 885 | for (int j = 0; j < numAddressRanges; j++) | ~~^~~~~~~~~~~~~~~~~~ src/ARMJIT.cpp:887:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 887 | for (int j = 0; j < numLiterals; j++) | ~~^~~~~~~~~~~~~ src/ARMJIT.cpp:911:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 911 | for (int j = 0; j < numAddressRanges; j++) | ~~^~~~~~~~~~~~~~~~~~ src/ARMJIT.cpp: In function 'void ARMJIT::InvalidateByAddr(u32)': src/ARMJIT.cpp:943:9: warning: unused variable 'mask' [-Wunused-variable] 943 | u32 mask = 1 << ((localAddr & 0x1FF) / 16); | ^~~~ src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer9(u32, u64*, u32, ARMv5*) [with bool Write = false; int ConsoleType = 0; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:293:1: required from here src/ARMJIT.cpp:247:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 247 | for (int i = 0; i < num; i++) | ~~^~~~~ src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer9(u32, u64*, u32, ARMv5*) [with bool Write = true; int ConsoleType = 0; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:293:1: required from here src/ARMJIT.cpp:247:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer7(u32, u64*, u32) [with bool Write = false; int ConsoleType = 0; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:293:1: required from here src/ARMJIT.cpp:261:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 261 | for (int i = 0; i < num; i++) | ~~^~~~~ src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer7(u32, u64*, u32) [with bool Write = true; int ConsoleType = 0; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:293:1: required from here src/ARMJIT.cpp:261:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer9(u32, u64*, u32, ARMv5*) [with bool Write = false; int ConsoleType = 1; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:294:1: required from here src/ARMJIT.cpp:247:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 247 | for (int i = 0; i < num; i++) | ~~^~~~~ src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer9(u32, u64*, u32, ARMv5*) [with bool Write = true; int ConsoleType = 1; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:294:1: required from here src/ARMJIT.cpp:247:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer7(u32, u64*, u32) [with bool Write = false; int ConsoleType = 1; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:294:1: required from here src/ARMJIT.cpp:261:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 261 | for (int i = 0; i < num; i++) | ~~^~~~~ src/ARMJIT.cpp: In instantiation of 'void ARMJIT::SlowBlockTransfer7(u32, u64*, u32) [with bool Write = true; int ConsoleType = 1; u32 = unsigned int; u64 = long unsigned int]': src/ARMJIT.cpp:294:1: required from here src/ARMJIT.cpp:261:23: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 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:1181:12: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1181 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1142:52: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1142 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ 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:1395:16: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1395 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1374:56: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1374 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1346:80: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1346 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1276:21: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1276 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1275:21: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1275 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ In file included from src/GPU3D_Soft.cpp:19: src/GPU3D_Soft.h: In member function 'void GPU3D::SoftRenderer::RenderPolygonScanline(GPU3D::SoftRenderer::RendererPolygon*, s32)': src/GPU3D_Soft.h:174:50: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized in this function [-Wmaybe-uninitialized] 174 | return z0 + (((s64)(z1-z0) * yfactor) >> shift); | ^~~~~~~ src/GPU3D_Soft.cpp:1024:21: note: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' was declared here 1024 | Interpolator<0> interpX(xstart, xend+1, wl, wr); | ^~~~~~~ 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:1395:16: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1395 | yshift -= 3; | ~~~~~~~^~~~ src/GPU2D_Soft.cpp:1374:56: warning: 'coordmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1374 | else overflowmask = ~(coordmask | 0x7FF); | ~~~~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1346:80: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1346 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1276:21: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1276 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1275:21: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1275 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ src/ARMJIT_x64/ARMJIT_LoadStore.cpp: In member function 'void ARMJIT::Compiler::A_Comp_MemHalf()': src/ARMJIT_x64/ARMJIT_LoadStore.cpp:674:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 674 | ? Op2(CurInstr.Instr & 0xF | ((CurInstr.Instr >> 4) & 0xF0)) | ~~~~~~~~~~~~~~~^~~~~ src/GPU3D_OpenGL.cpp:1206:24: warning: 'vram' may be used uninitialized in this function [-Wmaybe-uninitialized] 1206 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, i*8, 1024, 8, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV, vram); src/GPU3D_OpenGL.cpp:1191:24: warning: 'vram' may be used uninitialized in this function [-Wmaybe-uninitialized] 1191 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, i*128, 1024, 128, GL_RED_INTEGER, GL_UNSIGNED_BYTE, vram); src/ARMJIT_Memory.cpp: In member function 'void ARMJIT_Memory::Mapping::Unmap(int)': src/ARMJIT_Memory.cpp:369:21: warning: unused variable 'segmentOffset' [-Wunused-variable] 369 | u32 segmentOffset = offset; | ^~~~~~~~~~~~~ src/ARMJIT_Memory.cpp: In function 'void ARMJIT_Memory::Reset()': src/ARMJIT_Memory.cpp:824:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 824 | for (int i = 0; i < sizeof(MappingStatus9); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanlineBGMode6(u32)': src/GPU2D_Soft.cpp:1449:22: warning: 'tilemapaddr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1449 | u32 tilesetaddr, tilemapaddr; | ^~~~~~~~~~~ src/GPU2D_Soft.cpp:1449:22: warning: 'tilemapaddr' may be used uninitialized in this function [-Wmaybe-uninitialized] src/GPU2D_Soft.cpp:1449:22: warning: 'tilemapaddr' may be used uninitialized in this function [-Wmaybe-uninitialized] src/GPU2D_Soft.cpp:1449:22: warning: 'tilemapaddr' may be used uninitialized in this function [-Wmaybe-uninitialized] src/GPU2D_Soft.cpp:1524:72: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1524 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1458:9: note: 'yshift' was declared here 1458 | u32 yshift; | ^~~~~~ src/GPU2D_Soft.cpp:1476:17: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1476 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:16: note: 'ymask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ src/GPU2D_Soft.cpp:1475:17: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1475 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:9: note: 'xmask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ src/GPU2D_Soft.cpp:1524:72: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1524 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1458:9: note: 'yshift' was declared here 1458 | u32 yshift; | ^~~~~~ src/GPU2D_Soft.cpp:1476:17: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1476 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:16: note: 'ymask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ src/GPU2D_Soft.cpp:1475:17: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1475 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:9: note: 'xmask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ src/GPU2D_Soft.cpp:1524:72: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1524 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1458:9: note: 'yshift' was declared here 1458 | u32 yshift; | ^~~~~~ src/GPU2D_Soft.cpp:1476:17: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1476 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:16: note: 'ymask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ src/GPU2D_Soft.cpp:1475:17: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1475 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:9: note: 'xmask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ src/GPU2D_Soft.cpp:1524:72: warning: 'yshift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1524 | color = bgvram[(tilemapaddr + (((finalY & ymask) >> 8) << yshift) + ((finalX & xmask) >> 8)) & bgvrammask]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/GPU2D_Soft.cpp:1458:9: note: 'yshift' was declared here 1458 | u32 yshift; | ^~~~~~ src/GPU2D_Soft.cpp:1476:17: warning: 'ymask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1476 | ofymask = ~ymask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:16: note: 'ymask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ src/GPU2D_Soft.cpp:1475:17: warning: 'xmask' may be used uninitialized in this function [-Wmaybe-uninitialized] 1475 | ofxmask = ~xmask; | ~~~~~~~~^~~~~~~~ src/GPU2D_Soft.cpp:1457:9: note: 'xmask' was declared here 1457 | u32 xmask, ymask; | ^~~~~ In file included from /usr/include/c++/10.3.1/cstddef:50, from src/ARMJIT_x64/../dolphin/x64Emitter.h:9, from src/ARMJIT_x64/ARMJIT_Compiler.h:4, from src/ARMJIT_x64/ARMJIT_Compiler.cpp:1: src/ARMJIT_x64/ARMJIT_Compiler.cpp: In constructor 'ARMJIT::Compiler::Compiler()': src/ARMJIT_x64/ARMJIT_Compiler.cpp:260:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 260 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_FIQ))); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:263:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 263 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_IRQ))); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:266:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 266 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_SVC))); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:269:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 269 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_ABT))); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:272:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 272 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_UND))); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:298:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 298 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_FIQ)), R(RSCRATCH3)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:302:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 302 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_IRQ)), R(RSCRATCH3)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:306:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 306 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_SVC)), R(RSCRATCH3)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:310:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 310 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_ABT)), R(RSCRATCH3)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:314:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 314 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_UND)), R(RSCRATCH3)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::LoadCPSR()': src/ARMJIT_x64/ARMJIT_Compiler.cpp:436:44: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 436 | MOV(32, R(RCPSR), MDisp(RCPU, offsetof(ARM, CPSR))); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::SaveCPSR(bool)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:443:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 443 | MOV(32, MDisp(RCPU, offsetof(ARM, CPSR)), R(RCPSR)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::LoadReg(int, Gen::X64Reg)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:452:52: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 452 | MOV(32, R(nativeReg), MDisp(RCPU, offsetof(ARM, R[reg]))); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::SaveReg(int, Gen::X64Reg)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:459:34: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 459 | MOV(32, MDisp(RCPU, offsetof(ARM, R[reg])), R(nativeReg)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'Gen::FixupBranch ARMJIT::Compiler::CheckCondition(u32)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:482:88: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 482 | TEST(32, R(RCPSR), Imm32(1 << (28 + ((~(cond >> 1) & 1) << 1 | (cond >> 2 & 1) ^ (cond >> 1 & 1))))); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/10.3.1/cstddef:50, from src/ARMJIT_x64/../dolphin/x64Emitter.h:9, from src/ARMJIT_x64/ARMJIT_Compiler.h:4, from src/ARMJIT_x64/ARMJIT_Compiler.cpp:1: src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_SpecialBranchBehaviour(bool)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:632:36: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 632 | OR(8, MDisp(RCPU, offsetof(ARM, IdleLoop)), Imm8(0x1)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:639:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 639 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm32(ConstantCycles)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void (* ARMJIT::Compiler::CompileBlock(ARM*, bool, ARMJIT::FetchedInstr*, int))()': src/ARMJIT_x64/ARMJIT_Compiler.cpp:684:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 684 | MOV(32, MDisp(RCPU, offsetof(ARM, R[15])), Imm32(R15)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:687:46: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 687 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeCycles)), Imm32(CurInstr.CodeCycles)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:688:46: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 688 | MOV(32, MDisp(RCPU, offsetof(ARM, CurInstr)), Imm32(CurInstr.Instr)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:778:34: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 778 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm32(ConstantCycles)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_C(bool)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:797:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 797 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CI(u32)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:809:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 809 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CI(Gen::X64Reg, int)': src/ARMJIT_x64/ARMJIT_Compiler.cpp:823:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 823 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), R(RSCRATCH)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp:828:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 828 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), R(i)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CDI()': src/ARMJIT_x64/ARMJIT_Compiler.cpp:866:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 866 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles)); | ^ src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CD()': src/ARMJIT_x64/ARMJIT_Compiler.cpp:883:34: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 883 | IrregularCycles = cycles != numC; | ~~~~~~~^~~~~~~ In file included from /usr/include/c++/10.3.1/cstddef:50, from src/ARMJIT_x64/../dolphin/x64Emitter.h:9, from src/ARMJIT_x64/ARMJIT_Compiler.h:4, from src/ARMJIT_x64/ARMJIT_Compiler.cpp:1: src/ARMJIT_x64/ARMJIT_Compiler.cpp:910:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof] 910 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles)); | ^ In file included from src/ARMJIT_x64/../ARMJIT_RegisterCache.h:9, from src/ARMJIT_x64/ARMJIT_Compiler.h:8, from src/ARMJIT_x64/ARMJIT_Compiler.cpp:1: src/ARMJIT_x64/../ARMJIT_RegisterCache.h: In instantiation of 'void ARMJIT::RegisterCache::UnloadRegister(int) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]': src/ARMJIT_x64/ARMJIT_Compiler.cpp:59:44: required from here src/ARMJIT_x64/../ARMJIT_RegisterCache.h:34:29: warning: comparison of integer expressions of different signedness: 'Gen::X64Reg' and 'int' [-Wsign-compare] 34 | assert(Mapping[reg] != -1); | ^ src/ARMJIT_x64/../ARMJIT_RegisterCache.h: In instantiation of 'void ARMJIT::RegisterCache::LoadRegister(int, bool) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]': src/ARMJIT_x64/../ARMJIT_RegisterCache.h:158:17: required from 'void ARMJIT::RegisterCache::Prepare(bool, int) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]' src/ARMJIT_x64/ARMJIT_Compiler.cpp:695:38: required from here src/ARMJIT_x64/../ARMJIT_RegisterCache.h:47:29: warning: comparison of integer expressions of different signedness: 'Gen::X64Reg' and 'int' [-Wsign-compare] 47 | assert(Mapping[reg] == -1); | ^ src/GPU3D.cpp:1302:20: warning: 'reusedvertices[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 1302 | Vertex v1 = *reusedvertices[1]; | ^~ src/GPU3D.cpp:1301:20: warning: 'reusedvertices[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 1301 | Vertex v0 = *reusedvertices[0]; | ^~ 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:1106:48: warning: 'pixelsaddr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1106 | color = bgvram[(pixelsaddr + (tilexoff >> 1)) & bgvrammask] >> 4; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp:1114:58: warning: 'curpal' may be used uninitialized in this function [-Wmaybe-uninitialized] 1114 | drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<> 1)) & bgvrammask] >> 4; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp:1114:58: warning: 'curpal' may be used uninitialized in this function [-Wmaybe-uninitialized] 1114 | drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<>> 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:libGL.so.1 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> libretro-melonds*: Package size: 1.2 MB >>> libretro-melonds*: Compressing data... >>> libretro-melonds*: Create checksum... >>> libretro-melonds*: Create libretro-melonds-0_git20210411-r0.apk >>> libretro-melonds: Build complete at Sat, 23 Oct 2021 12:14:35 +0000 elapsed time 0h 0m 14s >>> libretro-melonds: Cleaning up srcdir >>> libretro-melonds: Cleaning up pkgdir >>> libretro-melonds: Uninstalling dependencies... (1/43) Purging .makedepends-libretro-melonds (20211023.121426) (2/43) Purging mesa-dev (21.2.4-r1) (3/43) Purging libxdamage-dev (1.1.5-r1) (4/43) Purging libxdamage (1.1.5-r1) (5/43) Purging libxshmfence-dev (1.3-r1) (6/43) Purging mesa-egl (21.2.4-r1) (7/43) Purging mesa-gbm (21.2.4-r1) (8/43) Purging mesa-gl (21.2.4-r1) (9/43) Purging mesa-gles (21.2.4-r1) (10/43) Purging mesa-osmesa (21.2.4-r1) (11/43) Purging mesa-xatracker (21.2.4-r1) (12/43) Purging mesa (21.2.4-r1) (13/43) Purging libdrm-dev (2.4.107-r0) (14/43) Purging libdrm (2.4.107-r0) (15/43) Purging linux-headers (5.10.41-r0) (16/43) Purging libpciaccess-dev (0.16-r0) (17/43) Purging libpciaccess (0.16-r0) (18/43) Purging libxxf86vm-dev (1.1.4-r2) (19/43) Purging libxxf86vm (1.1.4-r2) (20/43) Purging libxfixes-dev (6.0.0-r0) (21/43) Purging libxfixes (6.0.0-r0) (22/43) Purging libxext-dev (1.3.4-r0) (23/43) Purging libxext (1.3.4-r0) (24/43) Purging libx11-dev (1.7.2-r0) (25/43) Purging xtrans (1.4.0-r1) (26/43) Purging libx11 (1.7.2-r0) (27/43) Purging libxcb-dev (1.14-r2) (28/43) Purging xcb-proto (1.14.1-r2) (29/43) Purging libxcb (1.14-r2) (30/43) Purging libxau-dev (1.0.9-r0) (31/43) Purging libxau (1.0.9-r0) (32/43) Purging libxdmcp-dev (1.1.3-r0) (33/43) Purging libxdmcp (1.1.3-r0) (34/43) Purging xorgproto (2021.5-r0) (35/43) Purging libbsd (0.11.3-r1) (36/43) Purging libmd (1.0.3-r0) (37/43) Purging libxshmfence (1.3-r1) (38/43) Purging wayland-libs-client (1.19.0-r1) (39/43) Purging wayland-libs-server (1.19.0-r1) (40/43) Purging llvm12-libs (12.0.1-r0) (41/43) Purging libffi (3.4.2-r1) (42/43) Purging mesa-glapi (21.2.4-r1) (43/43) Purging libxml2 (2.9.12-r1) OK: 344 MiB in 95 packages >>> libretro-melonds: Updating the community/x86_64 repository index... >>> libretro-melonds: Signing the index...